PARENT - The type of the configurer's parentTYPE - The concrete type of the configurer to be returned from chained methodspublic abstract class OperationPreprocessorsConfigurer<PARENT,TYPE> extends AbstractNestedConfigurer<PARENT>
| Modifier | Constructor and Description |
|---|---|
protected |
OperationPreprocessorsConfigurer(PARENT parent)
Creates a new
OperationPreprocessorConfigurer with the given
parent. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(java.util.Map<java.lang.String,java.lang.Object> configuration,
RestDocumentationContext context)
Applies the configurer to the given
configuration. |
TYPE |
withRequestDefaults(OperationPreprocessor... preprocessors)
Configures the default operation request preprocessors.
|
TYPE |
withResponseDefaults(OperationPreprocessor... preprocessors)
Configures the default operation response preprocessors.
|
andprotected OperationPreprocessorsConfigurer(PARENT parent)
OperationPreprocessorConfigurer with the given
parent.parent - the parentpublic void apply(java.util.Map<java.lang.String,java.lang.Object> configuration,
RestDocumentationContext context)
AbstractConfigurerconfiguration.apply in class AbstractConfigurerconfiguration - the configuration to be configuredcontext - the current documentation contextpublic TYPE withRequestDefaults(OperationPreprocessor... preprocessors)
preprocessors - the preprocessorsthispublic TYPE withResponseDefaults(OperationPreprocessor... preprocessors)
preprocessors - the preprocessorsthis