- ParameterDescriptor - Class in org.springframework.restdocs.request
-
A descriptor of a request or path parameter
- ParameterDescriptor(String) - Constructor for class org.springframework.restdocs.request.ParameterDescriptor
-
Creates a new ParameterDescriptor
describing the parameter with the given
name
.
- Parameters - Class in org.springframework.restdocs.operation
-
The parameters received in a request
- Parameters() - Constructor for class org.springframework.restdocs.operation.Parameters
-
- parameterWithName(String) - Static method in class org.springframework.restdocs.request.RequestDocumentation
-
- patch(String, Object...) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-
- patch(URI) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-
- pathParameters(ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
-
Returns a snippet that will document the path parameters from the API call's
request.
- pathParameters(Map<String, Object>, ParameterDescriptor...) - Static method in class org.springframework.restdocs.request.RequestDocumentation
-
Returns a snippet that will document the path parameters from the API call's
request.
- PathParametersSnippet - Class in org.springframework.restdocs.request
-
A
Snippet
that documents the path parameters supported by a RESTful resource.
- PathParametersSnippet(List<ParameterDescriptor>) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
-
Creates a new PathParametersSnippet
that will document the request's path
parameters using the given descriptors
.
- PathParametersSnippet(List<ParameterDescriptor>, Map<String, Object>) - Constructor for class org.springframework.restdocs.request.PathParametersSnippet
-
Creates a new PathParametersSnippet
that will document the request's path
parameters using the given descriptors
.
- PayloadDocumentation - Class in org.springframework.restdocs.payload
-
Static factory methods for documenting a RESTful API's request and response payloads.
- post(String, Object...) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-
- post(URI) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-
- preprocess(OperationRequest) - Method in interface org.springframework.restdocs.operation.preprocess.OperationPreprocessor
-
Processes the given request
- preprocess(OperationResponse) - Method in interface org.springframework.restdocs.operation.preprocess.OperationPreprocessor
-
Processes the given response
- preprocess(OperationRequest) - Method in interface org.springframework.restdocs.operation.preprocess.OperationRequestPreprocessor
-
Processes and potentially modifies the given request
before it is
documented.
- preprocess(OperationResponse) - Method in interface org.springframework.restdocs.operation.preprocess.OperationResponsePreprocessor
-
Processes and potentially modifies the given response
before it is
documented.
- Preprocessors - Class in org.springframework.restdocs.operation.preprocess
-
- preprocessRequest(OperationPreprocessor...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
-
- preprocessResponse(OperationPreprocessor...) - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
-
- prettyPrint() - Static method in class org.springframework.restdocs.operation.preprocess.Preprocessors
-
Returns an OperationPreprocessor
that will pretty print the content of the
request or response.
- PrettyPrintingContentModifier - Class in org.springframework.restdocs.operation.preprocess
-
A ContentModifier
that modifies the content by pretty printing it.
- PrettyPrintingContentModifier() - Constructor for class org.springframework.restdocs.operation.preprocess.PrettyPrintingContentModifier
-
- put(String, Object...) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-
- put(URI) - Static method in class org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders
-