Class SimpleHandlerWrapper
java.lang.Object
com.pixelservices.flash.components.http.RequestHandler
com.pixelservices.flash.components.http.routing.models.SimpleHandlerWrapper
Wraps a SimpleHandler into a full RequestHandler with ID and metadata.
-
Field Summary
Fields inherited from class com.pixelservices.flash.components.http.RequestHandler
expectedBodyFields, expectedBodyFiles, expectedRequestParameters, req, res -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> Returns the effective class of the underlying handler for use by pooling mechanisms.handle()Handle the requestvoidsetSimpleHandler(SimpleHandler simpleHandler) Methods inherited from class com.pixelservices.flash.components.http.RequestHandler
expectedBodyField, expectedBodyField, expectedBodyFile, expectedBodyFile, expectedRequestParameter, expectedRequestParameter, getExpectedBodyFields, getExpectedBodyFiles, getExpectedRequestParameters, getHandlerType, getRequest, getRequestBody, getRequestBody, getResponse, getRouteParameters, getSpecification, isEnforcedNonNullBody, setHandlerType, setRequestResponse, setSpecification
-
Constructor Details
-
SimpleHandlerWrapper
-
-
Method Details
-
setSimpleHandler
-
handle
Description copied from class:RequestHandlerHandle the request- Specified by:
handlein classRequestHandler- Returns:
- The response object
-
getHandlerId
-
getHandlerName
- Overrides:
getHandlerNamein classRequestHandler
-
getSimpleHandler
-
getHandlerClass
Returns the effective class of the underlying handler for use by pooling mechanisms.
-