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 Object
- implements com.sun.xml.ws.api.server.WebServiceContextDelegate
- Author:
- Alexey Stashok
| 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 InputStream openInput()
throws IOException,
WSTCPException
- Throws:
IOException
WSTCPException
openOutput
public OutputStream openOutput()
throws IOException,
WSTCPException
- Throws:
IOException
WSTCPException
getStatus
public int getStatus()
setStatus
public void setStatus(int statusCode)
getContentType
public String getContentType()
setContentType
public void setContentType(String contentType)
flush
public void flush()
throws IOException,
WSTCPException
- Throws:
IOException
WSTCPException
close
public void close()
getUserPrincipal
public 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,
String role)
- Specified by:
isUserInRole in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
getEPRAddress
@NotNull
public 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 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 IOException,
WSTCPException
- Throws:
IOException
WSTCPException
getChannelContext
public ChannelContext getChannelContext()
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.