|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ResponseProcessor.RespondingContext
Injectable context that can be used during the data processing for
registering Stage instances that will be invoked during the
response processing.
| Method Summary | |
|---|---|
com.google.common.base.Optional<Responder> |
createStageChain()
Create an ( optional responder chain from all transformation
previously pushed into the context. |
void |
push(com.google.common.base.Function<javax.ws.rs.core.Response,javax.ws.rs.core.Response> responseTransformation)
Push response transformation function that should be applied |
| Method Detail |
|---|
void push(com.google.common.base.Function<javax.ws.rs.core.Response,javax.ws.rs.core.Response> responseTransformation)
responseTransformation - response transformation function.com.google.common.base.Optional<Responder> createStageChain()
optional responder chain from all transformation
previously pushed into the context.
absent value
in case of no registered transformations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||