|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.connector.http.HttpConnectionUtil
public final class HttpConnectionUtil
This class provides utility functions for the http connector.
| Field Summary | |
|---|---|
static String |
HTTP_CONNECTOR_EIS_NAME
The JNDI name of the http connector. |
static String |
HTTP_CONNECTOR_JNDI_NAME
The JNDI name of the http connector. |
| Method Summary | |
|---|---|
static void |
close(HttpConnection in)
Closes the HTTP connection (safe). |
static HttpConnection |
getHttpConnection(HttpConnectionSpec spec)
Returns a http connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HTTP_CONNECTOR_JNDI_NAME
public static final String HTTP_CONNECTOR_EIS_NAME
| Method Detail |
|---|
public static HttpConnection getHttpConnection(HttpConnectionSpec spec)
spec - the http connection spec identifying the target system
public static void close(HttpConnection in)
Level.FINE is logged. It's safe to pass a
null reference for the argument.
in - the HTTP connection that should be closed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||