public class ResourceHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
static java.nio.charset.Charset |
DEFAULT_CHARSET |
Constructor and Description |
---|
ResourceHttpMessageConverter(URIBuilder uriBuilder,
SecurityService securityService,
java.util.List<ResourceModule> resourceModules) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
readInternal(java.lang.Class<?> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
protected boolean |
supports(java.lang.Class<?> clazz) |
protected void |
writeInternal(java.lang.Object object,
org.springframework.http.HttpOutputMessage outputMessage) |
public ResourceHttpMessageConverter(URIBuilder uriBuilder, SecurityService securityService, java.util.List<ResourceModule> resourceModules)
protected boolean supports(java.lang.Class<?> clazz)
supports
in class org.springframework.http.converter.AbstractHttpMessageConverter<java.lang.Object>
protected java.lang.Object readInternal(java.lang.Class<?> clazz, org.springframework.http.HttpInputMessage inputMessage) throws java.io.IOException, org.springframework.http.converter.HttpMessageNotReadableException
readInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<java.lang.Object>
java.io.IOException
org.springframework.http.converter.HttpMessageNotReadableException
protected void writeInternal(java.lang.Object object, org.springframework.http.HttpOutputMessage outputMessage) throws java.io.IOException, org.springframework.http.converter.HttpMessageNotWritableException
writeInternal
in class org.springframework.http.converter.AbstractHttpMessageConverter<java.lang.Object>
java.io.IOException
org.springframework.http.converter.HttpMessageNotWritableException