org.apache.soap.util.net
Class  HTTPUtils
java.lang.Object
  |
  +--org.apache.soap.util.net.HTTPUtils
- public class HTTPUtils
- extends java.lang.Object
  
A bunch of utility stuff for doing HTTP things.
 
 2000/07/30 W. Cloetens     added Multipart Mime support
- Author: 
 - Sanjiva Weerawarana (sanjiva@watson.ibm.com), Matthew J. Duftler (duftler@us.ibm.com), Wouter Cloetens (wcloeten@raleigh.ibm.com), Scott Nichol (snichol@computer.org)
 
 
 
| 
Method Summary | 
static org.apache.soap.transport.TransportMessage | 
post(java.net.URL url,
     org.apache.soap.transport.TransportMessage request,
     int timeout,
     java.lang.String httpProxyHost,
     int httpProxyPort)
 
          POST something to the given URL. | 
static org.apache.soap.transport.TransportMessage | 
post(java.net.URL url,
     org.apache.soap.transport.TransportMessage request,
     int timeout,
     java.lang.String httpProxyHost,
     int httpProxyPort,
     int outputBufferSize)
 
          POST something to the given URL. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DEFAULT_OUTPUT_BUFFER_SIZE
public static final int DEFAULT_OUTPUT_BUFFER_SIZE
HTTPUtils
public HTTPUtils()
post
public static org.apache.soap.transport.TransportMessage post(java.net.URL url,
                                                              org.apache.soap.transport.TransportMessage request,
                                                              int timeout,
                                                              java.lang.String httpProxyHost,
                                                              int httpProxyPort)
                                                       throws java.lang.IllegalArgumentException,
                                                              java.io.IOException,
                                                              SOAPException
- POST something to the given URL. The headers are put in as
 HTTP headers, the content length is calculated and the content
 byte array is sent as the POST content.
- Parameters:
 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 null- Returns:
 - the response message
 
 
 
post
public static org.apache.soap.transport.TransportMessage post(java.net.URL url,
                                                              org.apache.soap.transport.TransportMessage request,
                                                              int timeout,
                                                              java.lang.String httpProxyHost,
                                                              int httpProxyPort,
                                                              int outputBufferSize)
                                                       throws java.lang.IllegalArgumentException,
                                                              java.io.IOException,
                                                              SOAPException
- POST something to the given URL. The headers are put in as
 HTTP headers, the content length is calculated and the content
 byte array is sent as the POST content.
- Parameters:
 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 stream- Returns:
 - the response message
 
 
 
Copyright © 2001 Oracle SOAP. All Rights Reserved.