public final class FormOAuth2ExceptionHttpMessageConverter extends Object implements org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>
| Constructor and Description |
|---|
FormOAuth2ExceptionHttpMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Class<?> clazz,
org.springframework.http.MediaType mediaType) |
boolean |
canWrite(Class<?> clazz,
org.springframework.http.MediaType mediaType) |
List<org.springframework.http.MediaType> |
getSupportedMediaTypes() |
OAuth2Exception |
read(Class<? extends OAuth2Exception> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
void |
write(OAuth2Exception t,
org.springframework.http.MediaType contentType,
org.springframework.http.HttpOutputMessage outputMessage) |
public FormOAuth2ExceptionHttpMessageConverter()
public boolean canRead(Class<?> clazz, org.springframework.http.MediaType mediaType)
canRead in interface org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>public boolean canWrite(Class<?> clazz, org.springframework.http.MediaType mediaType)
canWrite in interface org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>public List<org.springframework.http.MediaType> getSupportedMediaTypes()
getSupportedMediaTypes in interface org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>public OAuth2Exception read(Class<? extends OAuth2Exception> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
read in interface org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>IOExceptionorg.springframework.http.converter.HttpMessageNotReadableExceptionpublic void write(OAuth2Exception t, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
write in interface org.springframework.http.converter.HttpMessageConverter<OAuth2Exception>IOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionCopyright © 2019. All rights reserved.