public class ContentModifyingOperationPreprocessor extends java.lang.Object implements OperationPreprocessor
OperationPreprocessor that applies a ContentModifier to the content
of the request or response.| Constructor and Description |
|---|
ContentModifyingOperationPreprocessor(ContentModifier contentModifier)
Create a new
ContentModifyingOperationPreprocessor that will apply the
given contentModifier to the operation's request or response. |
| Modifier and Type | Method and Description |
|---|---|
OperationRequest |
preprocess(OperationRequest request)
Processes the given
request. |
OperationResponse |
preprocess(OperationResponse response)
Processes the given
response. |
public ContentModifyingOperationPreprocessor(ContentModifier contentModifier)
ContentModifyingOperationPreprocessor that will apply the
given contentModifier to the operation's request or response.contentModifier - the contentModifierpublic OperationRequest preprocess(OperationRequest request)
OperationPreprocessorrequest.preprocess in interface OperationPreprocessorrequest - the request to processpublic OperationResponse preprocess(OperationResponse response)
OperationPreprocessorresponse.preprocess in interface OperationPreprocessorresponse - the response to process