|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Responder
Linear response processing stage.
A continuation of a responder is represented by an (optional)
single next responder resulting in a linear response transformation processing.
| Nested Class Summary | |
|---|---|
static interface |
Responder.Builder
Linear acceptor chain builder. |
| Nested classes/interfaces inherited from interface org.glassfish.jersey.process.internal.Stage |
|---|
Stage.Root |
| Method Summary | |
|---|---|
Pair<javax.ws.rs.core.Response,com.google.common.base.Optional<Responder>> |
apply(javax.ws.rs.core.Response data)
Transforms supplied data and returns transformed data together with a processing continuation in the form of a <data, continuation> pair. |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Method Detail |
|---|
Pair<javax.ws.rs.core.Response,com.google.common.base.Optional<Responder>> apply(javax.ws.rs.core.Response data)
pair.
The returned continuation is (optionally) the next responder
that should be invoked. A present
continuation indicates the processing is expected to continue further, while
absence of a continuation indicates that the
unidirectional response transformation passed its final stage.
apply in interface com.google.common.base.Function<javax.ws.rs.core.Response,Pair<javax.ws.rs.core.Response,com.google.common.base.Optional<Responder>>>apply in interface Stage<javax.ws.rs.core.Response,com.google.common.base.Optional<Responder>>data - data to be transformed.
pair of transformed data and processing continuation;
the transformed data is on the left and the processing continuation on
the right side of the pair.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||