Package org.beryx.textio.web
Interface DataServer
-
- All Known Implementing Classes:
AbstractDataServer
,RatpackDataServer
,SparkDataServer
public interface DataServer
The interface implementetd by a web server that allows clients to access theDataApi
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPort()
void
init()
DataServer
withPathForGetData(java.lang.String pathForGetData)
DataServer
withPathForInitData(java.lang.String pathForInitData)
DataServer
withPathForPostInput(java.lang.String pathForPostInput)
DataServer
withPort(int portNumber)
-
-
-
Method Detail
-
withPathForInitData
DataServer withPathForInitData(java.lang.String pathForInitData)
-
withPathForGetData
DataServer withPathForGetData(java.lang.String pathForGetData)
-
withPathForPostInput
DataServer withPathForPostInput(java.lang.String pathForPostInput)
-
withPort
DataServer withPort(int portNumber)
-
getPort
int getPort()
-
init
void init()
-
-