public abstract class BaseController extends Object
| Constructor and Description |
|---|
BaseController() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.ResponseEntity<org.springframework.core.io.ByteArrayResource> |
loadBytesForWeb(org.adorsys.docusafe.business.types.complex.DSDocument dsDocument) |
protected org.springframework.http.ResponseEntity<org.springframework.core.io.ByteArrayResource> |
loadBytesForWeb(org.adorsys.docusafe.business.types.complex.DSDocument dsDocument,
org.springframework.http.MediaType mediaType) |
protected ResourceNotFoundException |
resourceNotFound(Class<?> klass,
String id) |
protected <T> org.springframework.http.ResponseEntity<T> |
returnDocument(T dsObjet) |
protected <T> org.springframework.http.ResponseEntity<T> |
returnDocument(T dsObjet,
org.springframework.http.MediaType mediaType) |
protected org.springframework.http.HttpHeaders |
userDataLocationHeader() |
protected String |
userId() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
yamlObjectMapper() |
public static final String BASE_PATH
protected String userId()
protected org.springframework.http.ResponseEntity<org.springframework.core.io.ByteArrayResource> loadBytesForWeb(org.adorsys.docusafe.business.types.complex.DSDocument dsDocument)
protected org.springframework.http.ResponseEntity<org.springframework.core.io.ByteArrayResource> loadBytesForWeb(org.adorsys.docusafe.business.types.complex.DSDocument dsDocument,
org.springframework.http.MediaType mediaType)
protected <T> org.springframework.http.ResponseEntity<T> returnDocument(T dsObjet)
protected <T> org.springframework.http.ResponseEntity<T> returnDocument(T dsObjet,
org.springframework.http.MediaType mediaType)
protected ResourceNotFoundException resourceNotFound(Class<?> klass, String id)
protected static com.fasterxml.jackson.databind.ObjectMapper yamlObjectMapper()
protected org.springframework.http.HttpHeaders userDataLocationHeader()
Copyright © 2018. All rights reserved.