|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.process.internal.LinearRequestProcessor
public class LinearRequestProcessor
A composite linear acceptor request processor.
invoked, the supplied data are first
transformed by the nested linear stage chain. Once a terminal stage is reached
a continuation is returned with the transformed request on the left side
and the inflector (optionally) provided by the terminal stage
on the right side.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.jersey.process.internal.RequestProcessor |
|---|
RequestProcessor.AcceptingContext |
| Constructor Summary | |
|---|---|
LinearRequestProcessor(LinearAcceptor rootAcceptor)
Construct a linear acceptor request processor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearRequestProcessor(LinearAcceptor rootAcceptor)
linear acceptor request processor.
rootAcceptor - head of the nested linear stage chain to be run.| Method Detail |
|---|
public Pair<Request,com.google.common.base.Optional<Inflector<Request,Response>>> apply(Request request)
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.
This implementation transforms the request using a nested linear stage chain.
Once a terminal stage is reached a continuation is returned with the transformed
request on the left side and the inflector (optionally)
provided by the terminal stage on the right side.
apply in interface RequestProcessorrequest - request data to be transformed
left side and the (optional) request-to-response inflector on the
right side.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||