|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RespondingContext
Injectable context that can be used during the data processing for registering response processing functions that will be invoked during the response processing.
| Method Summary | |
|---|---|
Stage<ContainerResponse> |
createRespondingRoot()
(Optionally) create a responder chain from all transformations previously pushed into the context. |
void |
push(ChainableStage<ContainerResponse> stage)
Push chainable response transformation stage that should be applied. |
void |
push(com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied. |
| Method Detail |
|---|
void push(com.google.common.base.Function<ContainerResponse,ContainerResponse> responseTransformation)
responseTransformation - response transformation function.void push(ChainableStage<ContainerResponse> stage)
stage - response transformation chainable stage.Stage<ContainerResponse> createRespondingRoot()
null in case of no
registered transformations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||