| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.soap.util.net.HTTPUtils
A bunch of utility stuff for doing HTTP things.
2000/07/30 W. Cloetens added Multipart Mime support
| Field Summary | |
| static int | DEFAULT_OUTPUT_BUFFER_SIZE | 
| Constructor Summary | |
| HTTPUtils() | |
| Method Summary | |
| static TransportMessage | post(java.net.URL url, TransportMessage request, int timeout, java.lang.String httpProxyHost, int httpProxyPort)POST something to the given URL. | 
| static TransportMessage | post(java.net.URL url, TransportMessage request, int timeout, java.lang.String httpProxyHost, int httpProxyPort, int outputBufferSize)POST something to the given URL. | 
| static TransportMessage | post(java.net.URL url, TransportMessage request, int timeout, java.lang.String httpProxyHost, int httpProxyPort, int outputBufferSize, java.lang.Boolean tcpNoDelay)POST something to the given URL. | 
| static TransportMessage | post(java.net.URL url, TransportMessage request, int timeout, java.lang.String httpProxyHost, int httpProxyPort, int outputBufferSize, java.lang.Boolean tcpNoDelay, java.lang.StringBuffer requestCopy, java.lang.StringBuffer responseCopy)POST something to the given URL. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final int DEFAULT_OUTPUT_BUFFER_SIZE
| Constructor Detail | 
public HTTPUtils()
| Method Detail | 
public static TransportMessage post(java.net.URL url,
TransportMessage request,
                                    int timeout,
                                    java.lang.String httpProxyHost,
                                    int httpProxyPort)
                             throws java.lang.IllegalArgumentException,
                                    java.io.IOException,
SOAPException
url - the url to post torequest - the messagetimeout - the amount of time, in ms, to block on reading datahttpProxyHost - the HTTP proxy host or null if no proxyhttpProxyPort - the HTTP proxy port, if the proxy host is not nulljava.lang.IllegalArgumentExceptionjava.io.IOExceptionSOAPException
public static TransportMessage post(java.net.URL url,
TransportMessage request,
                                    int timeout,
                                    java.lang.String httpProxyHost,
                                    int httpProxyPort,
                                    int outputBufferSize)
                             throws java.lang.IllegalArgumentException,
                                    java.io.IOException,
SOAPException
url - the url to post torequest - the messagetimeout - the amount of time, in ms, to block on reading datahttpProxyHost - the HTTP proxy host or null if no proxyhttpProxyPort - the HTTP proxy port, if the proxy host is not nulloutputBufferSize - the size of the output buffer on the HTTP streamjava.lang.IllegalArgumentExceptionjava.io.IOExceptionSOAPException
public static TransportMessage post(java.net.URL url,
TransportMessage request,
                                    int timeout,
                                    java.lang.String httpProxyHost,
                                    int httpProxyPort,
                                    int outputBufferSize,
                                    java.lang.Boolean tcpNoDelay)
                             throws java.lang.IllegalArgumentException,
                                    java.io.IOException,
SOAPException
url - the url to post torequest - the messagetimeout - the amount of time, in ms, to block on reading datahttpProxyHost - the HTTP proxy host or null if no proxyhttpProxyPort - the HTTP proxy port, if the proxy host is not nulloutputBufferSize - the size of the output buffer on the HTTP streamtcpNoDelay - the tcpNoDelay setting for the socketjava.lang.IllegalArgumentExceptionjava.io.IOExceptionSOAPException
public static TransportMessage post(java.net.URL url,
TransportMessage request,
                                    int timeout,
                                    java.lang.String httpProxyHost,
                                    int httpProxyPort,
                                    int outputBufferSize,
                                    java.lang.Boolean tcpNoDelay,
                                    java.lang.StringBuffer requestCopy,
                                    java.lang.StringBuffer responseCopy)
                             throws java.lang.IllegalArgumentException,
                                    java.io.IOException,
SOAPException
url - the url to post torequest - the messagetimeout - the amount of time, in ms, to block on reading datahttpProxyHost - the HTTP proxy host or null if no proxyhttpProxyPort - the HTTP proxy port, if the proxy host is not nulloutputBufferSize - the size of the output buffer on the HTTP streamtcpNoDelay - the tcpNoDelay setting for the socketrequestCopy - the buffer for capturing copy of the request or null if capture is not required.responseCopy - the buffer for capturing copy of the response or null if capture is not required.java.lang.IllegalArgumentExceptionjava.io.IOExceptionSOAPException| 
 | Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||