public class XmppReceiverConnection
extends org.springframework.ws.transport.AbstractReceiverConnection
WebServiceConnection that is used for server-side XMPP
access. Exposes a Message request and response message.| Constructor and Description |
|---|
XmppReceiverConnection(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Message requestMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResponseHeader(String name,
String value) |
String |
getErrorMessage() |
protected Iterator<String> |
getRequestHeaderNames() |
protected Iterator<String> |
getRequestHeaders(String name) |
protected InputStream |
getRequestInputStream() |
org.jivesoftware.smack.packet.Message |
getRequestMessage()
Returns the request message for this connection.
|
org.jivesoftware.smack.packet.Message |
getResponseMessage()
Returns the response message, if any, for this connection.
|
protected OutputStream |
getResponseOutputStream() |
URI |
getUri() |
boolean |
hasError() |
protected void |
onSendAfterWrite(org.springframework.ws.WebServiceMessage message) |
protected void |
onSendBeforeWrite(org.springframework.ws.WebServiceMessage message) |
createTransportInputStream, createTransportOutputStream, onClosepublic XmppReceiverConnection(org.jivesoftware.smack.XMPPConnection connection,
org.jivesoftware.smack.packet.Message requestMessage)
public org.jivesoftware.smack.packet.Message getRequestMessage()
public org.jivesoftware.smack.packet.Message getResponseMessage()
public URI getUri() throws URISyntaxException
URISyntaxExceptionpublic boolean hasError()
public String getErrorMessage()
protected Iterator<String> getRequestHeaderNames() throws IOException
getRequestHeaderNames in class org.springframework.ws.transport.AbstractReceiverConnectionIOExceptionprotected Iterator<String> getRequestHeaders(String name) throws IOException
getRequestHeaders in class org.springframework.ws.transport.AbstractReceiverConnectionIOExceptionprotected InputStream getRequestInputStream() throws IOException
getRequestInputStream in class org.springframework.ws.transport.AbstractReceiverConnectionIOExceptionprotected void onSendBeforeWrite(org.springframework.ws.WebServiceMessage message)
throws IOException
onSendBeforeWrite in class org.springframework.ws.transport.AbstractWebServiceConnectionIOExceptionprotected void addResponseHeader(String name, String value) throws IOException
addResponseHeader in class org.springframework.ws.transport.AbstractReceiverConnectionIOExceptionprotected OutputStream getResponseOutputStream() throws IOException
getResponseOutputStream in class org.springframework.ws.transport.AbstractReceiverConnectionIOExceptionprotected void onSendAfterWrite(org.springframework.ws.WebServiceMessage message)
throws IOException
onSendAfterWrite in class org.springframework.ws.transport.AbstractWebServiceConnectionIOException