|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.soap.transport.smtp.SOAPSMTPConnection
SOAPSMTPConnection is an implementation of the SOAPTransport interface for SMTP.
| Constructor Summary | |
SOAPSMTPConnection(java.lang.String fromAddr, java.lang.String subject, java.lang.String smtpServer, long popPollDelay, java.lang.String popServer, java.lang.String popLogin, java.lang.String popPassword)Constructor: sets up this SMTP connection for sending and receiving a SOAP envelope via SMTP and POP3, respectively. | |
| Method Summary | |
java.util.Hashtable |
getHeaders()Return access to headers generated by the protocol. |
SOAPContext |
getResponseSOAPContext()Return the SOAPContext associated with the response. |
java.io.BufferedReader |
receive()Return a buffered reader to receive back the response to whatever was sent to whatever. |
void |
send(java.net.URL toAddr, java.lang.String actionURI, java.util.Hashtable headers, Envelope env, SOAPMappingRegistry smr, SOAPContext ctx)This method is used to request that an envelope be sent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SOAPSMTPConnection(java.lang.String fromAddr,
java.lang.String subject,
java.lang.String smtpServer,
long popPollDelay,
java.lang.String popServer,
java.lang.String popLogin,
java.lang.String popPassword)
fromAddr - the sender's addresssubject - subject of the email messagesmtpServer - the SMTP server to use to sendpopPollDelay - the number of millis to sleep between response pollspopServer - hostname of POP3 server to receive frompopLogin - login ID to receive mail atpopPassword - password for login| Method Detail |
public void send(java.net.URL toAddr,
java.lang.String actionURI,
java.util.Hashtable headers,
Envelope env,
SOAPMappingRegistry smr,
SOAPContext ctx)
throws SOAPException
send in interface SOAPTransportheaders - any other header fields to go to as protocol headers [IGNORED right now]env - the envelope to sendsmr - the XML<->Java type mapping registry (passed on)ctx - the request SOAPContexttoAddr - the URL to send the envelope toactionURI - the SOAPAction header field valueSOAPException - with appropriate reason code if problempublic java.io.BufferedReader receive()
receive in interface SOAPTransportpublic java.util.Hashtable getHeaders()
getHeaders in interface SOAPTransportpublic SOAPContext getResponseSOAPContext()
getResponseSOAPContext in interface SOAPTransport
|
Oracle® XML Java API Reference 10g Release 1 (10.1) B12024-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||