クラス OAuth2ErrorHttpMessageConverter

java.lang.ObjectSE
org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2Error>
org.springframework.security.oauth2.core.http.converter.OAuth2ErrorHttpMessageConverter
実装されたすべてのインターフェース:
org.springframework.http.converter.HttpMessageConverter<OAuth2Error>

public class OAuth2ErrorHttpMessageConverter extends org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2Error>
OAuth 2.0 Error の HttpMessageConverter
導入:
5.1
関連事項:
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    protected org.springframework.core.convert.converter.Converter<MapSE<StringSE,StringSE>,OAuth2Error>
    protected org.springframework.core.convert.converter.Converter<OAuth2Error,MapSE<StringSE,StringSE>>

    クラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたフィールド

    logger
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    protected OAuth2Error
    readInternal(ClassSE<? extends OAuth2Error> clazz, org.springframework.http.HttpInputMessage inputMessage)
    final void
    setErrorConverter(org.springframework.core.convert.converter.Converter<MapSE<StringSE,StringSE>,OAuth2Error> errorConverter)
    OAuth 2.0 エラーパラメーターを OAuth2Error に変換するために使用される Converter を設定します。
    final void
    setErrorParametersConverter(org.springframework.core.convert.converter.Converter<OAuth2Error,MapSE<StringSE,StringSE>> errorParametersConverter)
    OAuth2Error を OAuth 2.0 エラーパラメーターの Map 表現に変換するために使用される Converter を設定します。
    protected boolean
    supports(ClassSE<?> clazz)
    protected void
    writeInternal(OAuth2Error oauth2Error, org.springframework.http.HttpOutputMessage outputMessage)

    クラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたメソッド

    addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, write

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE

    インターフェース org.springframework.http.converter.HttpMessageConverter から継承されたメソッド

    getSupportedMediaTypes
  • フィールドの詳細

  • コンストラクターの詳細

    • OAuth2ErrorHttpMessageConverter

      public OAuth2ErrorHttpMessageConverter()
  • メソッドの詳細

    • supports

      protected boolean supports(ClassSE<?> clazz)
      次で指定:
      クラス org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2Error>supports 
    • readInternal

      protected OAuth2Error readInternal(ClassSE<? extends OAuth2Error> clazz, org.springframework.http.HttpInputMessage inputMessage) throws org.springframework.http.converter.HttpMessageNotReadableException
      次で指定:
      クラス org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2Error>readInternal 
      例外:
      org.springframework.http.converter.HttpMessageNotReadableException
    • writeInternal

      protected void writeInternal(OAuth2Error oauth2Error, org.springframework.http.HttpOutputMessage outputMessage) throws org.springframework.http.converter.HttpMessageNotWritableException
      次で指定:
      クラス org.springframework.http.converter.AbstractHttpMessageConverter<OAuth2Error>writeInternal 
      例外:
      org.springframework.http.converter.HttpMessageNotWritableException
    • setErrorConverter

      public final void setErrorConverter(org.springframework.core.convert.converter.Converter<MapSE<StringSE,StringSE>,OAuth2Error> errorConverter)
      OAuth 2.0 エラーパラメーターを OAuth2Error に変換するために使用される Converter を設定します。
      パラメーター:
      errorConverter - OAuth2Error への変換に使用される Converter 
    • setErrorParametersConverter

      public final void setErrorParametersConverter(org.springframework.core.convert.converter.Converter<OAuth2Error,MapSE<StringSE,StringSE>> errorParametersConverter)
      OAuth2Error を OAuth 2.0 エラーパラメーターの Map 表現に変換するために使用される Converter を設定します。
      パラメーター:
      errorParametersConverter - エラーパラメーターの Map 表現への変換に使用される Converter