Class ThreadLocalServerTLSHandler

  • All Implemented Interfaces:
    net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler

    public class ThreadLocalServerTLSHandler
    extends Object
    implements net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
    An implementation of HttpClientContextHandler which handles cleanup and transfer of data used for server TLS held by ThreadLocalX509TrustEngineContext.
    • Field Detail

      • log

        private final org.slf4j.Logger log
        Logger.
    • Constructor Detail

      • ThreadLocalServerTLSHandler

        public ThreadLocalServerTLSHandler()
    • Method Detail

      • invokeBefore

        public void invokeBefore​(@Nonnull
                                 org.apache.http.client.protocol.HttpClientContext context,
                                 @Nonnull
                                 org.apache.http.client.methods.HttpUriRequest request)
                          throws IOException
        Specified by:
        invokeBefore in interface net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
        Throws:
        IOException
      • invokeAfter

        public void invokeAfter​(@Nonnull
                                org.apache.http.client.protocol.HttpClientContext context,
                                @Nonnull
                                org.apache.http.client.methods.HttpUriRequest request)
                         throws IOException
        Specified by:
        invokeAfter in interface net.shibboleth.utilities.java.support.httpclient.HttpClientContextHandler
        Throws:
        IOException