|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.soap.transport.http.OracleSOAPHTTPConnection
Field Summary | |
static java.lang.String |
ALLOW_USER_INTERACTION
property to set user interaction |
static java.lang.String |
AUTH_TYPE
property used for defining http auth type (basic/digest) |
static java.lang.String |
CIPHERS
property used for defining cipher suites used for HTTPS (colon separated list of cipher suites) |
static java.lang.String |
PASSWORD
property used for defining http password |
static java.lang.String |
PROXY_AUTH_TYPE
property used for defining proxy auth type (basic/digest) |
static java.lang.String |
PROXY_HOST
property used for defining proxy host |
static java.lang.String |
PROXY_PASSWORD
property used for defining proxy password |
static java.lang.String |
PROXY_PORT
property used for defining proxy port |
static java.lang.String |
PROXY_USERNAME
property used for defining proxy username |
static java.lang.String |
STATUS_LINE
property used to get HTTP status line from HTTP headers ( getHeaders ) |
static java.lang.String |
USERNAME
property used for defining http username |
static java.lang.String |
WALLET_LOCATION
property used for defining wallet location used for HTTPS |
static java.lang.String |
WALLET_PASSWORD
property used for defining wallet password used for HTTPS |
Constructor Summary | |
OracleSOAPHTTPConnection()
Default constructor. |
|
OracleSOAPHTTPConnection(java.util.Properties prop)
Constructor that takes Properties as an arg. |
Method Summary | |
void |
close()
Closes the connection. |
void |
finalize()
|
java.util.Hashtable |
getHeaders()
Return access to headers generated by the protocol. |
java.util.Properties |
getProperties()
Get the connection properties. |
java.io.BufferedReader |
receive()
Return a buffered reader to receive back the response to whatever was sent to whatever. |
void |
send(java.net.URL sendTo,
java.lang.String action,
java.util.Hashtable headers,
Envelope env,
SOAPMappingRegistry smr,
int timeout)
This method is used to request that an envelope be posted to the given URL. |
void |
setProperties(java.util.Properties prop)
Set the connection properties. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ALLOW_USER_INTERACTION
public static final java.lang.String STATUS_LINE
getHeaders
)public static final java.lang.String PROXY_HOST
public static final java.lang.String PROXY_PORT
public static final java.lang.String PROXY_AUTH_TYPE
public static final java.lang.String PROXY_USERNAME
public static final java.lang.String PROXY_PASSWORD
public static final java.lang.String AUTH_TYPE
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String WALLET_LOCATION
public static final java.lang.String WALLET_PASSWORD
public static final java.lang.String CIPHERS
Constructor Detail |
public OracleSOAPHTTPConnection()
public OracleSOAPHTTPConnection(java.util.Properties prop)
prop
- connection propertiesMethod Detail |
public void setProperties(java.util.Properties prop)
setProperties
in interface OracleSOAPTransport
prop
- connection propertiespublic java.util.Properties getProperties()
getProperties
in interface OracleSOAPTransport
public void send(java.net.URL sendTo, java.lang.String action, java.util.Hashtable headers, Envelope env, SOAPMappingRegistry smr, int timeout) throws SOAPException
org.apache.soap.rpc.Call
instead.send
in interface org.apache.soap.transport.SOAPTransport
sendTo
- the URL to send the envelope toaction
- the SOAPAction header field valueheaders
- any other header fields to go to as protocol headersenv
- the envelope to sendsmr
- the XML<->Java type mapping registry (passed on)ctx
- the request SOAPContextSOAPException
- with appropriate reason code if problempublic java.io.BufferedReader receive()
org.apache.soap.rpc.Call
instead.receive
in interface org.apache.soap.transport.SOAPTransport
public java.util.Hashtable getHeaders()
org.apache.soap.rpc.Call
instead.getHeaders
in interface org.apache.soap.transport.SOAPTransport
public void close()
BufferedReader
returned
by receive
method may be closed and should not be used.
Calling this method will free resources without having the garbage
collector runclose
in interface OracleSOAPTransport
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |