public class OAuth2TokenIntrospectionHttpMessageConverter extends org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2TokenIntrospection>
HttpMessageConverter for an OAuth 2.0 Token Introspection Response.AbstractHttpMessageConverter,
OAuth2TokenIntrospection| Constructor and Description |
|---|
OAuth2TokenIntrospectionHttpMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected OAuth2TokenIntrospection |
readInternal(java.lang.Class<? extends OAuth2TokenIntrospection> clazz,
org.springframework.http.HttpInputMessage inputMessage) |
void |
setTokenIntrospectionConverter(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,java.lang.Object>,OAuth2TokenIntrospection> tokenIntrospectionConverter)
Sets the
Converter used for converting the Token Introspection Response parameters to an OAuth2TokenIntrospection. |
void |
setTokenIntrospectionParametersConverter(org.springframework.core.convert.converter.Converter<OAuth2TokenIntrospection,java.util.Map<java.lang.String,java.lang.Object>> tokenIntrospectionParametersConverter)
Sets the
Converter used for converting an OAuth2TokenIntrospection
to a Map representation of the Token Introspection Response parameters. |
protected boolean |
supports(java.lang.Class<?> clazz) |
protected void |
writeInternal(OAuth2TokenIntrospection tokenIntrospection,
org.springframework.http.HttpOutputMessage outputMessage) |
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writepublic OAuth2TokenIntrospectionHttpMessageConverter()
protected boolean supports(java.lang.Class<?> clazz)
supports in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2TokenIntrospection>protected OAuth2TokenIntrospection readInternal(java.lang.Class<? extends OAuth2TokenIntrospection> clazz, org.springframework.http.HttpInputMessage inputMessage) throws org.springframework.http.converter.HttpMessageNotReadableException
readInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2TokenIntrospection>org.springframework.http.converter.HttpMessageNotReadableExceptionprotected void writeInternal(OAuth2TokenIntrospection tokenIntrospection, org.springframework.http.HttpOutputMessage outputMessage) throws org.springframework.http.converter.HttpMessageNotWritableException
writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2TokenIntrospection>org.springframework.http.converter.HttpMessageNotWritableExceptionpublic final void setTokenIntrospectionConverter(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,java.lang.Object>,OAuth2TokenIntrospection> tokenIntrospectionConverter)
Converter used for converting the Token Introspection Response parameters to an OAuth2TokenIntrospection.tokenIntrospectionConverter - the Converter used for converting to an OAuth2TokenIntrospectionpublic final void setTokenIntrospectionParametersConverter(org.springframework.core.convert.converter.Converter<OAuth2TokenIntrospection,java.util.Map<java.lang.String,java.lang.Object>> tokenIntrospectionParametersConverter)
Converter used for converting an OAuth2TokenIntrospection
to a Map representation of the Token Introspection Response parameters.tokenIntrospectionParametersConverter - the Converter used for converting to a
Map representation of the Token Introspection Response parameters