@ThreadSafe public interface HttpClientContextHandler
HttpClientContext to be externally manipulated before use.| Modifier and Type | Method and Description |
|---|---|
void |
invokeAfter(HttpClientContext context,
HttpUriRequest request)
Perform any desired context modifications after use.
|
void |
invokeBefore(HttpClientContext context,
HttpUriRequest request)
Perform any desired context modifications before use.
|
void invokeBefore(@Nonnull HttpClientContext context, @Nonnull HttpUriRequest request) throws IOException
context - the context to operate onrequest - the request that will be executedIOException - if the call should be abortedvoid invokeAfter(@Nonnull HttpClientContext context, @Nonnull HttpUriRequest request) throws IOException
context - the context to operate onrequest - the request that was executedIOException - if the call should be abortedCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.