org.glassfish.jersey.process.internal
Interface RequestProcessor
- All Known Implementing Classes:
- HierarchicalRequestProcessor, LinearRequestProcessor
public interface RequestProcessor
Applies all request transformations and returns a continuation with the transformed
request on the left side and an (optional)
request-to-response inflector on the right side.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
apply
Pair<Request,com.google.common.base.Optional<Inflector<Request,Response>>> apply(Request request)
- Traverse through the nested request stages and apply request transformations
until a terminal stage
providing a request-to-response inflector
is reached. If the terminal stage does not provide an inflector, the inflector
returned on the right side of the continuation will
be absent.
- Parameters:
request - request data to be transformed
- Returns:
- continuation with the transformed request on the
left side and the (optional) request-to-response inflector on the
right side.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.