com.sun.xml.ws.transport.tcp.server
Class TCPConnectionImpl
java.lang.Object
com.sun.xml.ws.transport.tcp.server.TCPConnectionImpl
- All Implemented Interfaces:
- com.sun.xml.ws.api.server.WebServiceContextDelegate
public class TCPConnectionImpl
- extends java.lang.Object
- implements com.sun.xml.ws.api.server.WebServiceContextDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPConnectionImpl
public TCPConnectionImpl(ChannelContext channelContext)
openInput
public java.io.InputStream openInput()
throws java.io.IOException,
WSTCPException
- Throws:
java.io.IOException
WSTCPException
openOutput
public java.io.OutputStream openOutput()
throws java.io.IOException,
WSTCPException
- Throws:
java.io.IOException
WSTCPException
getStatus
public int getStatus()
setStatus
public void setStatus(int statusCode)
getContentType
public java.lang.String getContentType()
setContentType
public void setContentType(java.lang.String contentType)
flush
public void flush()
throws java.io.IOException,
WSTCPException
- Throws:
java.io.IOException
WSTCPException
close
public void close()
getUserPrincipal
public java.security.Principal getUserPrincipal(com.sun.xml.ws.api.message.Packet request)
- Specified by:
getUserPrincipal
in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
isUserInRole
public boolean isUserInRole(com.sun.xml.ws.api.message.Packet request,
java.lang.String role)
- Specified by:
isUserInRole
in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
getEPRAddress
@NotNull
public java.lang.String getEPRAddress(@NotNull
com.sun.xml.ws.api.message.Packet request,
@NotNull
com.sun.xml.ws.api.server.WSEndpoint endpoint)
- Specified by:
getEPRAddress
in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
getWSDLAddress
public java.lang.String getWSDLAddress(@NotNull
com.sun.xml.ws.api.message.Packet request,
@NotNull
com.sun.xml.ws.api.server.WSEndpoint endpoint)
- Specified by:
getWSDLAddress
in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
sendErrorMessage
public void sendErrorMessage(WSTCPError message)
throws java.io.IOException,
WSTCPException
- Throws:
java.io.IOException
WSTCPException
getChannelContext
public ChannelContext getChannelContext()