|
||||||||||
| 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,
SOAPVersion soapVersion,
Codec defaultCodec)
Configure Codec according to channel settings |
String |
decodeMimeType(int contentId)
|
String |
decodeParam(int paramId)
|
int |
encodeMimeType(String mimeType)
|
int |
encodeParam(String paramStr)
|
int |
getChannelId()
Return channel id |
ChannelSettings |
getChannelSettings()
Return channel settings, which were aggreed during handshake phase |
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 |
String |
getContentType()
Gets message's content type from TCP protocol specific representation |
WSTCPURI |
getTargetWSURI()
Return correspondent WS's URI |
QName |
getWSServiceName()
Return virtual channel's correspondent service name |
void |
onRecycled()
|
void |
setContentType(String contentTypeS)
Sets message's content type to TCP protocol specific representation |
void |
setWSServiceName(QName wsServiceName)
|
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 Codec getCodec()
@NotNull public Connection getConnection()
public int getChannelId()
@NotNull public QName getWSServiceName()
public void setWSServiceName(@NotNull
QName wsServiceName)
@Nullable public WSTCPURI getTargetWSURI()
public void setContentType(@NotNull
String contentTypeS)
throws WSTCPException
WSTCPException
@NotNull
public String getContentType()
throws WSTCPException
WSTCPException
public int encodeMimeType(@NotNull
String mimeType)
throws WSTCPException
WSTCPException
@NotNull
public String decodeMimeType(int contentId)
throws WSTCPException
WSTCPException
public int encodeParam(@NotNull
String paramStr)
throws WSTCPException
WSTCPException
@NotNull
public String decodeParam(int paramId)
throws WSTCPException
WSTCPException
public static void configureCodec(@NotNull
ChannelContext channelContext,
@NotNull
SOAPVersion soapVersion,
@NotNull
Codec defaultCodec)
public String toString()
toString in class Objectpublic void onRecycled()
onRecycled in interface WSTCPFastInfosetStreamReaderRecyclable.RecycleAwareListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||