public abstract class StandardTableSnippet
extends org.springframework.restdocs.snippet.TemplatedSnippet
| Modifier | Constructor and Description |
|---|---|
protected |
StandardTableSnippet(String snippetName,
Map<String,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FieldDescriptors |
createFieldDescriptors(org.springframework.restdocs.operation.Operation operation,
org.springframework.web.method.HandlerMethod handlerMethod) |
protected Map<String,Object> |
createModel(org.springframework.restdocs.operation.Operation operation) |
protected Map<String,Object> |
createModelForDescriptor(org.springframework.restdocs.payload.FieldDescriptor descriptor,
TemplateFormatting templateFormatting) |
protected void |
enrichModel(Map<String,Object> model,
org.springframework.web.method.HandlerMethod handlerMethod,
FieldDescriptors fieldDescriptors) |
protected abstract String[] |
getTranslationKeys() |
protected Map<String,Object> createModel(org.springframework.restdocs.operation.Operation operation)
createModel in class org.springframework.restdocs.snippet.TemplatedSnippetprotected abstract FieldDescriptors createFieldDescriptors(org.springframework.restdocs.operation.Operation operation, org.springframework.web.method.HandlerMethod handlerMethod)
protected abstract String[] getTranslationKeys()
protected void enrichModel(Map<String,Object> model, org.springframework.web.method.HandlerMethod handlerMethod, FieldDescriptors fieldDescriptors)
protected Map<String,Object> createModelForDescriptor(org.springframework.restdocs.payload.FieldDescriptor descriptor, TemplateFormatting templateFormatting)
Copyright © 2018 Scalable Capital GmbH. All rights reserved.