com.sun.xml.ws.rx.rm.runtime
Class JaxwsApplicationMessage

java.lang.Object
  extended by com.sun.xml.ws.rx.message.RxMessageBase
      extended by com.sun.xml.ws.rx.rm.runtime.ApplicationMessageBase
          extended by com.sun.xml.ws.rx.rm.runtime.JaxwsApplicationMessage
All Implemented Interfaces:
RxMessage, ApplicationMessage

public class JaxwsApplicationMessage
extends ApplicationMessageBase

JAX-WS specific application message

Author:
Marek Potociar

Nested Class Summary
static class JaxwsApplicationMessage.JaxwsApplicationMessageState
           
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.message.RxMessage
RxMessage.State
 
Constructor Summary
JaxwsApplicationMessage(Packet packet, String correlationId)
           
 
Method Summary
 Message getJaxwsMessage()
           
 Packet getPacket()
           
 JaxwsApplicationMessage.JaxwsApplicationMessageState getState()
          Returns serializable state of the message
 String getWsaAction()
          Returns WS-Addressing action header value - used in ServerTube as a workaround FIXME remove when no longer needed
static JaxwsApplicationMessage newInstance(InputStream dataStream, int initialResendCounterValue, String correlationId, String wsaAction, String sequenceId, long messageNumber)
           
static JaxwsApplicationMessage newInstance(Packet packet, int initialResendCounterValue, String correlationId, String wsaAction, String sequenceId, long messageNumber)
           
 byte[] toBytes()
          Returns byte[] representation of the message instance
 String toString()
           
 
Methods inherited from class com.sun.xml.ws.rx.rm.runtime.ApplicationMessageBase
getAcknowledgementData, getMessageNumber, getNextResendCount, getSequenceId, setAcknowledgementData, setSequenceData
 
Methods inherited from class com.sun.xml.ws.rx.message.RxMessageBase
getCorrelationId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.rx.message.RxMessage
getCorrelationId
 

Constructor Detail

JaxwsApplicationMessage

public JaxwsApplicationMessage(@NotNull
                               Packet packet,
                               @NotNull
                               String correlationId)
Method Detail

getJaxwsMessage

@NotNull
public Message getJaxwsMessage()

getPacket

@NotNull
public Packet getPacket()

toBytes

public byte[] toBytes()
Description copied from interface: RxMessage
Returns byte[] representation of the message instance

Specified by:
toBytes in interface RxMessage
Overrides:
toBytes in class RxMessageBase
Returns:
byte[] representation of the message instance

getWsaAction

public String getWsaAction()
Returns WS-Addressing action header value - used in ServerTube as a workaround FIXME remove when no longer needed

Returns:
WS-Addressing action header value

getState

public JaxwsApplicationMessage.JaxwsApplicationMessageState getState()
Description copied from interface: RxMessage
Returns serializable state of the message

Returns:
serializable state of the message

newInstance

public static JaxwsApplicationMessage newInstance(@NotNull
                                                  InputStream dataStream,
                                                  int initialResendCounterValue,
                                                  @NotNull
                                                  String correlationId,
                                                  @NotNull
                                                  String wsaAction,
                                                  @NotNull
                                                  String sequenceId,
                                                  long messageNumber)

newInstance

public static JaxwsApplicationMessage newInstance(@NotNull
                                                  Packet packet,
                                                  int initialResendCounterValue,
                                                  @NotNull
                                                  String correlationId,
                                                  @NotNull
                                                  String wsaAction,
                                                  @NotNull
                                                  String sequenceId,
                                                  long messageNumber)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.