public abstract class AbstractDataServer extends Object implements DataServer
DataServer
implementations.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PATH_FOR_GET_DATA |
static String |
DEFAULT_PATH_FOR_POST_INPUT |
Constructor and Description |
---|
AbstractDataServer() |
Modifier and Type | Method and Description |
---|---|
String |
getPathForGetData() |
String |
getPathForPostInput() |
protected String |
handleGetData(DataApi dataApi) |
protected String |
handlePostInput(DataApi dataApi,
String input,
boolean userInterrupt) |
AbstractDataServer |
withPathForGetData(String pathForGetData) |
AbstractDataServer |
withPathForPostInput(String pathForPostInput) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPort, init, withPort
public static final String DEFAULT_PATH_FOR_GET_DATA
public static final String DEFAULT_PATH_FOR_POST_INPUT
public AbstractDataServer withPathForGetData(String pathForGetData)
withPathForGetData
in interface DataServer
public String getPathForGetData()
public AbstractDataServer withPathForPostInput(String pathForPostInput)
withPathForPostInput
in interface DataServer
public String getPathForPostInput()