public static class ApacheConnectionClosingStrategy.ImmediateClosingStrategy extends Object implements ApacheConnectionClosingStrategy
ApacheConnectionClosingStrategy.GracefulClosingStrategy, ApacheConnectionClosingStrategy.ImmediateClosingStrategy| Constructor and Description | 
|---|
ImmediateClosingStrategy()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close(ClientRequest clientRequest,
     org.apache.http.client.methods.HttpUriRequest request,
     org.apache.http.client.methods.CloseableHttpResponse response,
     InputStream stream)
Method to close the connection. 
 | 
public void close(ClientRequest clientRequest, org.apache.http.client.methods.HttpUriRequest request, org.apache.http.client.methods.CloseableHttpResponse response, InputStream stream) throws IOException
ApacheConnectionClosingStrategyclose in interface ApacheConnectionClosingStrategyclientRequest - The ClientRequest to get configuration,
                      and resolve properties.request - Apache HttpUriRequest that can be aborted.response - Apache CloseableHttpResponse that can be closed.stream - The entity stream that can be closed.IOException - In case of some of the closing methods throws IOExceptionCopyright © 2007-2020, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.