com.sun.xml.ws.rx.message.jaxws
Class JaxwsMessage

java.lang.Object
  extended by com.sun.xml.ws.rx.message.RxMessageBase
      extended by com.sun.xml.ws.rx.message.jaxws.JaxwsMessage
All Implemented Interfaces:
RxMessage

public class JaxwsMessage
extends RxMessageBase

JAX-WS specific application message

Author:
Marek Potociar

Nested Class Summary
static class JaxwsMessage.JaxwsMessageState
           
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.message.RxMessage
RxMessage.State
 
Constructor Summary
JaxwsMessage(Packet packet, String correlationId)
           
 
Method Summary
 Message getJaxwsMessage()
           
 Packet getPacket()
           
 JaxwsMessage.JaxwsMessageState 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 JaxwsMessage newInstance(InputStream dataStream, String correlationId, String wsaAction)
           
 void setPacket(Packet newPacket)
           
 byte[] toBytes()
          Returns byte[] representation of the message instance
 String toString()
           
 
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
 

Constructor Detail

JaxwsMessage

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

getJaxwsMessage

@NotNull
public Message getJaxwsMessage()

getPacket

@NotNull
public Packet getPacket()

setPacket

public void setPacket(Packet newPacket)

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 JaxwsMessage.JaxwsMessageState getState()
Description copied from interface: RxMessage
Returns serializable state of the message

Returns:
serializable state of the message

newInstance

public static JaxwsMessage newInstance(@NotNull
                                       InputStream dataStream,
                                       @NotNull
                                       String correlationId,
                                       @NotNull
                                       String wsaAction)

toString

public String toString()
Overrides:
toString in class Object


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