Package restx.exceptions
Class ErrorDescriptorsRoute
java.lang.Object
restx.StdRoute
restx.entity.StdEntityRoute<Void,O>
restx.jackson.StdJsonProducerEntityRoute
restx.exceptions.ErrorDescriptorsRoute
- All Implemented Interfaces:
DescribableRoute,RestxHandler,RestxHandlerMatcher,RestxRoute
User: xavierhanin
Date: 3/18/13
Time: 9:37 PM
-
Nested Class Summary
Nested classes/interfaces inherited from class restx.entity.StdEntityRoute
StdEntityRoute.Builder<I extends Object,O extends Object> -
Field Summary
Fields inherited from class restx.entity.StdEntityRoute
EMPTY_COLLECTION_SUPPLIER, EMPTY_ITERABLE_SUPPLIER, EMPTY_LIST_SUPPLIER, EMPTY_SET_SUPPLIER -
Constructor Summary
ConstructorsConstructorDescriptionErrorDescriptorsRoute(Iterable<ErrorDescriptor> errorDescriptors, com.fasterxml.jackson.databind.ObjectWriter objectWriter, RestxSecurityManager securityManager, PermissionFactory permissionFactory, EndpointParameterMapperRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.base.Optional<?>doRoute(RestxRequest restxRequest, RestxResponse response, RestxRequestMatch match, Object i) Methods inherited from class restx.entity.StdEntityRoute
allOf, anyOf, builder, getEntityRequestBodyType, getEntityResponseType, handle, hasRole, isAuthenticated, mapQueryObjectFromRequest, mapQueryObjectFromRequest, openMethods inherited from class restx.StdRoute
describe, describeOperation, getMatcher, getSuccessStatus, match, notFound, toString
-
Constructor Details
-
ErrorDescriptorsRoute
public ErrorDescriptorsRoute(Iterable<ErrorDescriptor> errorDescriptors, @Named("FrontObjectWriter") com.fasterxml.jackson.databind.ObjectWriter objectWriter, RestxSecurityManager securityManager, PermissionFactory permissionFactory, EndpointParameterMapperRegistry registry)
-
-
Method Details
-
doRoute
protected com.google.common.base.Optional<?> doRoute(RestxRequest restxRequest, RestxResponse response, RestxRequestMatch match, Object i) throws IOException - Specified by:
doRoutein classStdEntityRoute- Throws:
IOException
-