public class RatpackDataServer extends AbstractDataServer
DataApi.DEFAULT_PATH_FOR_GET_DATA, DEFAULT_PATH_FOR_POST_INPUT| Constructor and Description | 
|---|
| RatpackDataServer(Function<String,DataApi> dataApiProvider) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected DataApi | getDataApi(ratpack.handling.Context ctx) | 
| protected static String | getId(ratpack.handling.Context ctx) | 
| int | getPort() | 
| void | init() | 
| RatpackDataServer | withBaseDir(String baseDir) | 
| RatpackDataServer | withPort(int portNumber) | 
getPathForGetData, getPathForPostInput, handleGetData, handlePostInput, withPathForGetData, withPathForPostInputpublic RatpackDataServer withBaseDir(String baseDir)
public RatpackDataServer withPort(int portNumber)
public int getPort()
public void init()
protected static String getId(ratpack.handling.Context ctx)
protected DataApi getDataApi(ratpack.handling.Context ctx)