public interface RespondingContext
Modifier and Type | Method and Description |
---|---|
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(Function<ContainerResponse,ContainerResponse> responseTransformation)
Push response transformation function that should be applied.
|
void push(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.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.