All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.soap.transport.http.OracleSOAPHTTPConnection

java.lang.Object
   |
   +----oracle.soap.transport.http.OracleSOAPHTTPConnection

public class OracleSOAPHTTPConnection
extends Object
implements OracleSOAPTransport

Variable Index

 o ALLOW_USER_INTERACTION
property to set user interaction
 o AUTH_TYPE
property used for defining http auth type (basic/digest)
 o CIPHERS
property used for defining cipher suites used for HTTPS (colon separated list of cipher suites)
 o PASSWORD
property used for defining http password
 o PROXY_AUTH_TYPE
property used for defining proxy auth type (basic/digest)
 o PROXY_HOST
property used for defining proxy host
 o PROXY_PASSWORD
property used for defining proxy password
 o PROXY_PORT
property used for defining proxy port
 o PROXY_USERNAME
property used for defining proxy username
 o STATUS_LINE
property used to get HTTP status line from HTTP headers (getHeaders)
 o USERNAME
property used for defining http username
 o WALLET_LOCATION
property used for defining wallet location used for HTTPS
 o WALLET_PASSWORD
property used for defining wallet password used for HTTPS

Constructor Index

 o OracleSOAPHTTPConnection()
Default constructor.
 o OracleSOAPHTTPConnection(Properties)
Constructor that takes Properties as an arg.

Method Index

 o close()
Closes the connection.
 o finalize()
 o getHeaders()
Return access to headers generated by the protocol.
 o getProperties()
Get the connection properties.
 o receive()
Return a buffered reader to receive back the response to whatever was sent to whatever.
 o send(URL, String, Hashtable, Envelope, SOAPMappingRegistry, int)
This method is used to request that an envelope be posted to the given URL.
 o setProperties(Properties)
Set the connection properties.

Variables

 o ALLOW_USER_INTERACTION
 public static final String ALLOW_USER_INTERACTION
property to set user interaction

 o STATUS_LINE
 public static final String STATUS_LINE
property used to get HTTP status line from HTTP headers (getHeaders)

 o PROXY_HOST
 public static final String PROXY_HOST
property used for defining proxy host

 o PROXY_PORT
 public static final String PROXY_PORT
property used for defining proxy port

 o PROXY_AUTH_TYPE
 public static final String PROXY_AUTH_TYPE
property used for defining proxy auth type (basic/digest)

 o PROXY_USERNAME
 public static final String PROXY_USERNAME
property used for defining proxy username

 o PROXY_PASSWORD
 public static final String PROXY_PASSWORD
property used for defining proxy password

 o AUTH_TYPE
 public static final String AUTH_TYPE
property used for defining http auth type (basic/digest)

 o USERNAME
 public static final String USERNAME
property used for defining http username

 o PASSWORD
 public static final String PASSWORD
property used for defining http password

 o WALLET_LOCATION
 public static final String WALLET_LOCATION
property used for defining wallet location used for HTTPS

 o WALLET_PASSWORD
 public static final String WALLET_PASSWORD
property used for defining wallet password used for HTTPS

 o CIPHERS
 public static final String CIPHERS
property used for defining cipher suites used for HTTPS (colon separated list of cipher suites)

Constructors

 o OracleSOAPHTTPConnection
 public OracleSOAPHTTPConnection()
Default constructor.

 o OracleSOAPHTTPConnection
 public OracleSOAPHTTPConnection(Properties prop)
Constructor that takes Properties as an arg.

Parameters:
prop - connection properties

Methods

 o setProperties
 public void setProperties(Properties prop)
Set the connection properties.

Parameters:
prop - connection properties
 o getProperties
 public Properties getProperties()
Get the connection properties.

Returns:
connection properties
 o send
 public void send(URL sendTo,
                  String action,
                  Hashtable headers,
                  Envelope env,
                  SOAPMappingRegistry smr,
                  int timeout) throws SOAPException
This method is used to request that an envelope be posted to the given URL. The response (if any) must be gotten by calling the receive() function. Soap clients should not use this method directly but use org.apache.soap.rpc.Call instead.

Parameters:
sendTo - the URL to send the envelope to
action - the SOAPAction header field value
headers - any other header fields to go to as protocol headers
env - the envelope to send
smr - the XML<->Java type mapping registry (passed on)
ctx - the request SOAPContext
Throws: SOAPException
with appropriate reason code if problem
 o receive
 public BufferedReader receive()
Return a buffered reader to receive back the response to whatever was sent to whatever. Soap clients should not use this method directly but use org.apache.soap.rpc.Call instead.

Returns:
a reader to read the results from or null if that's not possible.
 o getHeaders
 public Hashtable getHeaders()
Return access to headers generated by the protocol. Soap clients should not use this method directly but use org.apache.soap.rpc.Call instead.

Returns:
a hashtable containing all the headers
 o close
 public void close()
Closes the connection. Once this method has been called, the BufferedReader returned by receive method may be closed and should not be used. Calling this method will free resources without having the garbage collector run

 o finalize
 public void finalize() throws Throwable
Overrides:
finalize in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index