Class AbstractJSONResponseDecoderFunction<T>

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.plugin.authn.oidc.rp.decoding.impl.AbstractJSONResponseDecoderFunction<T>
Type Parameters:
T - the return type of the function.
All Implemented Interfaces:
Function<org.apache.hc.core5.http.ClassicHttpResponse,T>, Component, DestructableComponent, InitializableComponent
Direct Known Subclasses:
DefaultAccessTokenResponseDecoder, DefaultUserInfoResponseDecoder

public abstract class AbstractJSONResponseDecoderFunction<T> extends AbstractInitializableComponent implements Function<org.apache.hc.core5.http.ClassicHttpResponse,T>
Abstract class for JSON based response decoders.

Note, the Http Response should not be closed inside a decoder implementation, but MUST be closed by the calling class. However, any input stream obtained by the decoder MUST ensure the stream is closed.

  • Field Details

    • objectMapper

      @NonnullAfterInit private com.fasterxml.jackson.databind.ObjectMapper objectMapper
      JSON object mapper.
  • Constructor Details

    • AbstractJSONResponseDecoderFunction

      public AbstractJSONResponseDecoderFunction()
  • Method Details