Class ThreadLocalServerTLSHandler
java.lang.Object
org.opensaml.security.httpclient.impl.ThreadLocalServerTLSHandler
- All Implemented Interfaces:
HttpClientContextHandler
An implementation of
HttpClientContextHandler which handles cleanup and transfer of
data used for server TLS held by ThreadLocalX509TrustEngineContext.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvokeAfter(org.apache.hc.client5.http.protocol.HttpClientContext context, org.apache.hc.core5.http.ClassicHttpRequest request) voidinvokeBefore(org.apache.hc.client5.http.protocol.HttpClientContext context, org.apache.hc.core5.http.ClassicHttpRequest request)
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger.
-
-
Constructor Details
-
ThreadLocalServerTLSHandler
public ThreadLocalServerTLSHandler()
-
-
Method Details
-
invokeBefore
public void invokeBefore(@Nonnull org.apache.hc.client5.http.protocol.HttpClientContext context, @Nonnull org.apache.hc.core5.http.ClassicHttpRequest request) throws IOException - Specified by:
invokeBeforein interfaceHttpClientContextHandler- Throws:
IOException
-
invokeAfter
public void invokeAfter(@Nonnull org.apache.hc.client5.http.protocol.HttpClientContext context, @Nonnull org.apache.hc.core5.http.ClassicHttpRequest request) throws IOException - Specified by:
invokeAfterin interfaceHttpClientContextHandler- Throws:
IOException
-