|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.process.internal.DefaultRespondingContext
public class DefaultRespondingContext
Default implementation of the request-scoped
responding context.
| Constructor Summary | |
|---|---|
DefaultRespondingContext()
|
|
| 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<Response,Response> responseTransformation)
Push response transformation function that should be applied |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRespondingContext()
| Method Detail |
|---|
public void push(com.google.common.base.Function<Response,Response> responseTransformation)
ResponseProcessor.RespondingContext
push in interface ResponseProcessor.RespondingContextresponseTransformation - response transformation function.public com.google.common.base.Optional<Responder> createStageChain()
ResponseProcessor.RespondingContextoptional responder chain from all transformation
previously pushed into the context.
createStageChain in interface ResponseProcessor.RespondingContextabsent value
in case of no registered transformations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||