|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.client.util.HttpAsyncClientUtils
public class HttpAsyncClientUtils
Static helpers for dealing with HttpAsyncClient
.
Method Summary | |
---|---|
static void |
closeQuietly(CloseableHttpAsyncClient httpAsyncClient)
Unconditionally close a httpAsyncClient. |
static void |
closeQuietly(HttpAsyncClient httpAsyncClient)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void closeQuietly(CloseableHttpAsyncClient httpAsyncClient)
Example Code:
HttpAsyncClient httpAsyncClient = null; try { httpAsyncClient = ...; } catch (Exception e) { // error handling } finally { HttpAsyncClientUtils.closeQuietly(httpAsyncClient); }
httpAsyncClient
- the HttpAsyncClient to close, may be null or already closed.@Deprecated public static void closeQuietly(HttpAsyncClient httpAsyncClient)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |