Package com.yahoo.restapi
Interface RestApi
public interface RestApi
Rest API routing and response serialization
- Author:
- bjorncs
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestApi.Builder
builder()
static RestApi.HandlerConfigBuilder
handleRequest
(HttpRequest request) com.fasterxml.jackson.databind.ObjectMapper
static RestApi.RouteBuilder
-
Method Details
-
builder
-
route
-
handlerConfig
-
handleRequest
-
jacksonJsonMapper
com.fasterxml.jackson.databind.ObjectMapper jacksonJsonMapper() -
requestHandlerSpec
RequestHandlerSpec requestHandlerSpec()- See Also:
-