|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.transport.tcp.util.ChannelContext
public class ChannelContext
Constructor Summary | |
---|---|
ChannelContext(ConnectionSession connectionSession,
ChannelSettings channelSettings)
|
Method Summary | |
---|---|
static void |
configureCodec(ChannelContext channelContext,
com.sun.xml.ws.api.SOAPVersion soapVersion,
com.sun.xml.ws.api.pipe.Codec defaultCodec)
Configure Codec according to channel settings |
java.lang.String |
decodeMimeType(int contentId)
|
java.lang.String |
decodeParam(int paramId)
|
int |
encodeMimeType(java.lang.String mimeType)
|
int |
encodeParam(java.lang.String paramStr)
|
int |
getChannelId()
Return channel id |
ChannelSettings |
getChannelSettings()
Return channel settings, which were aggreed during handshake phase |
com.sun.xml.ws.api.pipe.Codec |
getCodec()
Return message Codec, which is used for encoding/decoding messages on this virtual channel |
Connection |
getConnection()
Return TCP connection object, where this virtual channel is acting on |
ConnectionSession |
getConnectionSession()
Return TCP session object where which this virual channel is open on |
java.lang.String |
getContentType()
Gets message's content type from TCP protocol specific representation |
WSTCPURI |
getTargetWSURI()
Return correspondent WS's URI |
javax.xml.namespace.QName |
getWSServiceName()
Return virtual channel's correspondent service name |
void |
onRecycled()
|
void |
setContentType(java.lang.String contentTypeS)
Sets message's content type to TCP protocol specific representation |
void |
setWSServiceName(javax.xml.namespace.QName wsServiceName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChannelContext(@NotNull ConnectionSession connectionSession, @NotNull ChannelSettings channelSettings)
Method Detail |
---|
@NotNull public ConnectionSession getConnectionSession()
@NotNull public ChannelSettings getChannelSettings()
@Nullable public com.sun.xml.ws.api.pipe.Codec getCodec()
@NotNull public Connection getConnection()
public int getChannelId()
@NotNull public javax.xml.namespace.QName getWSServiceName()
public void setWSServiceName(@NotNull javax.xml.namespace.QName wsServiceName)
@Nullable public WSTCPURI getTargetWSURI()
public void setContentType(@NotNull java.lang.String contentTypeS) throws WSTCPException
WSTCPException
@NotNull public java.lang.String getContentType() throws WSTCPException
WSTCPException
public int encodeMimeType(@NotNull java.lang.String mimeType) throws WSTCPException
WSTCPException
@NotNull public java.lang.String decodeMimeType(int contentId) throws WSTCPException
WSTCPException
public int encodeParam(@NotNull java.lang.String paramStr) throws WSTCPException
WSTCPException
@NotNull public java.lang.String decodeParam(int paramId) throws WSTCPException
WSTCPException
public static void configureCodec(@NotNull ChannelContext channelContext, @NotNull com.sun.xml.ws.api.SOAPVersion soapVersion, @NotNull com.sun.xml.ws.api.pipe.Codec defaultCodec)
public java.lang.String toString()
toString
in class java.lang.Object
public void onRecycled()
onRecycled
in interface WSTCPFastInfosetStreamReaderRecyclable.RecycleAwareListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |