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
-
ALLOW_USER_INTERACTION
- property to set user interaction
-
AUTH_TYPE
- property used for defining http auth type (basic/digest)
-
CIPHERS
- property used for defining cipher suites used for HTTPS (colon separated
list of cipher suites)
-
PASSWORD
- property used for defining http password
-
PROXY_AUTH_TYPE
- property used for defining proxy auth type (basic/digest)
-
PROXY_HOST
- property used for defining proxy host
-
PROXY_PASSWORD
- property used for defining proxy password
-
PROXY_PORT
- property used for defining proxy port
-
PROXY_USERNAME
- property used for defining proxy username
-
STATUS_LINE
- property used to get HTTP status line from HTTP headers
(
getHeaders
)
-
USERNAME
- property used for defining http username
-
WALLET_LOCATION
- property used for defining wallet location used for HTTPS
-
WALLET_PASSWORD
- property used for defining wallet password used for HTTPS
-
OracleSOAPHTTPConnection()
- Default constructor.
-
OracleSOAPHTTPConnection(Properties)
- Constructor that takes Properties as an arg.
-
close()
- Closes the connection.
-
finalize()
-
-
getHeaders()
- Return access to headers generated by the protocol.
-
getProperties()
- Get the connection properties.
-
receive()
- Return a buffered reader to receive back the response to whatever
was sent to whatever.
-
send(URL, String, Hashtable, Envelope, SOAPMappingRegistry, int)
- This method is used to request that an envelope be posted to the
given URL.
-
setProperties(Properties)
- Set the connection properties.
ALLOW_USER_INTERACTION
public static final String ALLOW_USER_INTERACTION
- property to set user interaction
STATUS_LINE
public static final String STATUS_LINE
- property used to get HTTP status line from HTTP headers
(
getHeaders
)
PROXY_HOST
public static final String PROXY_HOST
- property used for defining proxy host
PROXY_PORT
public static final String PROXY_PORT
- property used for defining proxy port
PROXY_AUTH_TYPE
public static final String PROXY_AUTH_TYPE
- property used for defining proxy auth type (basic/digest)
PROXY_USERNAME
public static final String PROXY_USERNAME
- property used for defining proxy username
PROXY_PASSWORD
public static final String PROXY_PASSWORD
- property used for defining proxy password
AUTH_TYPE
public static final String AUTH_TYPE
- property used for defining http auth type (basic/digest)
USERNAME
public static final String USERNAME
- property used for defining http username
PASSWORD
public static final String PASSWORD
- property used for defining http password
WALLET_LOCATION
public static final String WALLET_LOCATION
- property used for defining wallet location used for HTTPS
WALLET_PASSWORD
public static final String WALLET_PASSWORD
- property used for defining wallet password used for HTTPS
CIPHERS
public static final String CIPHERS
- property used for defining cipher suites used for HTTPS (colon separated
list of cipher suites)
OracleSOAPHTTPConnection
public OracleSOAPHTTPConnection()
- Default constructor.
OracleSOAPHTTPConnection
public OracleSOAPHTTPConnection(Properties prop)
- Constructor that takes Properties as an arg.
- Parameters:
- prop - connection properties
setProperties
public void setProperties(Properties prop)
- Set the connection properties.
- Parameters:
- prop - connection properties
getProperties
public Properties getProperties()
- Get the connection properties.
- Returns:
- connection properties
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
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.
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
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
finalize
public void finalize() throws Throwable
- Overrides:
- finalize in class Object
All Packages Class Hierarchy This Package Previous Next Index