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, waitgetPort, init, withPortpublic 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 DataServerpublic String getPathForGetData()
public AbstractDataServer withPathForPostInput(String pathForPostInput)
withPathForPostInput in interface DataServerpublic String getPathForPostInput()