com.sun.xml.messaging.saaj.client.p2p
Class HttpSOAPConnection

java.lang.Object
  extended by javax.xml.soap.SOAPConnection
      extended by com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection

public class HttpSOAPConnection
extends javax.xml.soap.SOAPConnection

This represents a "connection" to the simple HTTP-based provider.

Author:
Anil Vijendran (akv@eng.sun.com), Rajiv Mordani (rajiv.mordani@sun.com), Manveen Kaur (manveen.kaur@sun.com)

Field Summary
static java.lang.String defaultProxyHost
           
static int defaultProxyPort
           
protected static java.util.logging.Logger log
           
 
Constructor Summary
HttpSOAPConnection()
           
 
Method Summary
 javax.xml.soap.SOAPMessage call(javax.xml.soap.SOAPMessage message, java.lang.Object endPoint)
           
 void close()
           
 javax.xml.soap.SOAPMessage get(java.lang.Object endPoint)
           
 java.lang.String getProxyHost()
           
 int getProxyPort()
           
 void setProxy(java.lang.String host, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static java.util.logging.Logger log

defaultProxyHost

public static java.lang.String defaultProxyHost

defaultProxyPort

public static int defaultProxyPort
Constructor Detail

HttpSOAPConnection

public HttpSOAPConnection()
                   throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException
Method Detail

close

public void close()
           throws javax.xml.soap.SOAPException
Specified by:
close in class javax.xml.soap.SOAPConnection
Throws:
javax.xml.soap.SOAPException

call

public javax.xml.soap.SOAPMessage call(javax.xml.soap.SOAPMessage message,
                                       java.lang.Object endPoint)
                                throws javax.xml.soap.SOAPException
Specified by:
call in class javax.xml.soap.SOAPConnection
Throws:
javax.xml.soap.SOAPException

setProxy

public void setProxy(java.lang.String host,
                     int port)

getProxyHost

public java.lang.String getProxyHost()

getProxyPort

public int getProxyPort()

get

public javax.xml.soap.SOAPMessage get(java.lang.Object endPoint)
                               throws javax.xml.soap.SOAPException
Overrides:
get in class javax.xml.soap.SOAPConnection
Throws:
javax.xml.soap.SOAPException