public class OperationAttributeHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_PATTERN |
| Constructor and Description |
|---|
OperationAttributeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static TemplateFormatting |
determineTemplateFormatting(org.springframework.restdocs.operation.Operation operation) |
static TemplateFormatting |
determineTemplateFormatting(org.springframework.restdocs.templates.TemplateFormat templateFormat) |
static String |
getAuthorization(org.springframework.restdocs.operation.Operation operation) |
static ConstraintReader |
getConstraintReader(org.springframework.restdocs.operation.Operation operation) |
static List<org.springframework.restdocs.snippet.Snippet> |
getDefaultSnippets(org.springframework.restdocs.operation.Operation operation) |
static org.springframework.restdocs.RestDocumentationContext |
getDocumentationContext(org.springframework.restdocs.operation.Operation operation) |
static org.springframework.web.method.HandlerMethod |
getHandlerMethod(org.springframework.restdocs.operation.Operation operation) |
static JavadocReader |
getJavadocReader(org.springframework.restdocs.operation.Operation operation) |
static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper(org.springframework.restdocs.operation.Operation operation) |
static String |
getRequestMethod(org.springframework.restdocs.operation.Operation operation) |
static String |
getRequestPattern(org.springframework.restdocs.operation.Operation operation) |
static org.springframework.restdocs.templates.TemplateFormat |
getTemplateFormat(org.springframework.restdocs.operation.Operation operation) |
static void |
initRequestPattern(org.springframework.mock.web.MockHttpServletRequest request) |
static void |
setAuthorization(org.springframework.mock.web.MockHttpServletRequest request,
String authorization) |
static void |
setConstraintReader(org.springframework.mock.web.MockHttpServletRequest request,
ConstraintReader constraintReader) |
static void |
setHandlerMethod(org.springframework.mock.web.MockHttpServletRequest request,
org.springframework.web.method.HandlerMethod handlerMethod) |
static void |
setJavadocReader(org.springframework.mock.web.MockHttpServletRequest request,
JavadocReader javadocReader) |
static void |
setObjectMapper(org.springframework.mock.web.MockHttpServletRequest request,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public static final String REQUEST_PATTERN
public static org.springframework.web.method.HandlerMethod getHandlerMethod(org.springframework.restdocs.operation.Operation operation)
public static void setHandlerMethod(org.springframework.mock.web.MockHttpServletRequest request,
org.springframework.web.method.HandlerMethod handlerMethod)
public static String getRequestPattern(org.springframework.restdocs.operation.Operation operation)
public static void initRequestPattern(org.springframework.mock.web.MockHttpServletRequest request)
public static String getRequestMethod(org.springframework.restdocs.operation.Operation operation)
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper(org.springframework.restdocs.operation.Operation operation)
public static void setObjectMapper(org.springframework.mock.web.MockHttpServletRequest request,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public static JavadocReader getJavadocReader(org.springframework.restdocs.operation.Operation operation)
public static void setJavadocReader(org.springframework.mock.web.MockHttpServletRequest request,
JavadocReader javadocReader)
public static org.springframework.restdocs.RestDocumentationContext getDocumentationContext(org.springframework.restdocs.operation.Operation operation)
public static String getAuthorization(org.springframework.restdocs.operation.Operation operation)
public static void setAuthorization(org.springframework.mock.web.MockHttpServletRequest request,
String authorization)
public static ConstraintReader getConstraintReader(org.springframework.restdocs.operation.Operation operation)
public static void setConstraintReader(org.springframework.mock.web.MockHttpServletRequest request,
ConstraintReader constraintReader)
public static org.springframework.restdocs.templates.TemplateFormat getTemplateFormat(org.springframework.restdocs.operation.Operation operation)
public static List<org.springframework.restdocs.snippet.Snippet> getDefaultSnippets(org.springframework.restdocs.operation.Operation operation)
public static TemplateFormatting determineTemplateFormatting(org.springframework.restdocs.operation.Operation operation)
public static TemplateFormatting determineTemplateFormatting(org.springframework.restdocs.templates.TemplateFormat templateFormat)
Copyright © 2018 Scalable Capital GmbH. All rights reserved.