|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.axis.transport.HTTPUtils
public class HTTPUtils
Field Summary | |
---|---|
static java.lang.String |
DISABLE_CHUNKING
|
Constructor Summary | |
---|---|
HTTPUtils()
|
Method Summary | |
---|---|
static void |
setChunkedEncoding(javax.xml.rpc.Stub stub,
boolean enable)
Sets on option on the stub to use to enable or disable chunked encoding (only if used with HTTP 1.1). |
static void |
setCloseConnection(javax.xml.rpc.Stub stub,
boolean close)
Sets on option on the stub to close the connection after receiving the reply (connection will not be reused). |
static void |
setDisableChunking(javax.xml.rpc.Stub stub,
boolean disable)
Sets on option on the stub to use to disable chunking (only if used with HTTP 1.1). |
static void |
setHTTP10Version(javax.xml.rpc.Stub stub,
boolean enable)
Sets on option on the stub to control what HTTP protocol version should be used. |
static void |
setHTTPVersion(javax.xml.rpc.Stub stub,
boolean http10)
Sets on option on the stub to control what HTTP protocol version should be used. |
static void |
setTimeout(javax.xml.rpc.Stub stub,
int timeout)
Sets connection timeout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DISABLE_CHUNKING
Constructor Detail |
---|
public HTTPUtils()
Method Detail |
---|
public static void setTimeout(javax.xml.rpc.Stub stub, int timeout)
stub
- The stub to set the property ontimeout
- the new timeout value in millisecondspublic static void setCloseConnection(javax.xml.rpc.Stub stub, boolean close)
stub
- The stub to set the property onclose
- If true, connection close will be requested. Otherwise
connection close will not be requested.public static void setHTTP10Version(javax.xml.rpc.Stub stub, boolean enable)
stub
- The stub to set the property onenable
- If true, HTTP 1.0 will be used. If false, HTTP 1.1
will be used.public static void setHTTPVersion(javax.xml.rpc.Stub stub, boolean http10)
stub
- The stub to set the property onhttp10
- If true, HTTP 1.0 will be used. Otherwise HTTP 1.1
will be used.public static void setChunkedEncoding(javax.xml.rpc.Stub stub, boolean enable)
stub
- The stub to set the property onenable
- If true, chunked encoding will be enabled. If false,
chunked encoding will be disabled.public static void setDisableChunking(javax.xml.rpc.Stub stub, boolean disable)
stub
- The stub to set the property ondisable
- If true, chunking will be disabled. Otherwise chunking
will be performed (if HTTP 1.1 will be used).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |