| com.sun.xml.internal.ws.spi.runtime.WSConnection
All known Subclasses: com.sun.xml.internal.ws.transport.WSConnectionImpl,
WSConnection | public interface WSConnection (Code) | | Captures many transports that are used to talk with WS endpoints.
For endpoints deployed in light weight http server in J2SE, the implemenation
of this class uses HttpTransaction to read from or write to stream.
For endpoints deployed in servlet container, the implementation of this
class uses HttpServletRequest to read a request, and uses HttpServletResponse
to write response.
This also works for local transport, JMS transport.
Runtime can access to the implementation of this interface using
messageInfo.getConnection()
|
INTERNAL_ERR | final public static int INTERNAL_ERR(Code) | | |
MALFORMED_XML | final public static int MALFORMED_XML(Code) | | |
OK | final public static int OK(Code) | | |
ONEWAY | final public static int ONEWAY(Code) | | |
UNSUPPORTED_MEDIA | final public static int UNSUPPORTED_MEDIA(Code) | | |
close | public void close()(Code) | | Closes transport connection
|
closeInput | public void closeInput()(Code) | | Closes transport's input stream
|
closeOutput | public void closeOutput()(Code) | | Closes transport's output stream
|
getInput | public InputStream getInput()(Code) | | Transport's underlying input stream
Transport's underlying input stream |
getOutput | public OutputStream getOutput()(Code) | | Transport's underlying output stream
Transport's underlying output stream |
getStatus | public int getStatus()(Code) | | return the status code |
setStatus | public void setStatus(int status)(Code) | | sets the transport status code like OK
|
|
|