public class ApiDeclarationRoute extends StdJsonProducerEntityRoute
{
apiVersion: "0.2",
swaggerVersion: "1.1",
basePath: "http://petstore.swagger.wordnik.com/api",
resourcePath: "/pet.{format}"
...
apis: [...]
models: {...}
}
See API DeclarationStdEntityRoute.Builder<I,O>EMPTY_COLLECTION_SUPPLIER, EMPTY_ITERABLE_SUPPLIER, EMPTY_LIST_SUPPLIER, EMPTY_SET_SUPPLIER| Constructor and Description |
|---|
ApiDeclarationRoute(com.fasterxml.jackson.databind.ObjectWriter writer,
Factory factory,
RestxSecurityManager securityManager,
PermissionFactory permissionFactory,
EndpointParameterMapperRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Optional<?> |
doRoute(RestxRequest restxRequest,
RestxResponse response,
RestxRequestMatch match,
Object body) |
allOf, anyOf, builder, getEntityRequestBodyType, getEntityResponseType, handle, hasRole, isAuthenticated, mapQueryObjectFromRequest, mapQueryObjectFromRequest, opendescribe, describeOperation, getMatcher, getSuccessStatus, match, notFound, toString@Inject
public ApiDeclarationRoute(@Named(value="FrontObjectWriter")
com.fasterxml.jackson.databind.ObjectWriter writer,
Factory factory,
RestxSecurityManager securityManager,
PermissionFactory permissionFactory,
EndpointParameterMapperRegistry registry)
protected com.google.common.base.Optional<?> doRoute(RestxRequest restxRequest, RestxResponse response, RestxRequestMatch match, Object body) throws IOException
doRoute in class StdEntityRouteIOExceptionCopyright © 2017. All Rights Reserved.