|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
Represents a request, response, or exception flowing through a wire
Method Summary | ||
---|---|---|
|
getBindingContext()
Returns the binding context in force for this message |
|
|
getBody()
Returns the body of the message, which will be the payload or parameters associated with the wire |
|
EndpointReference |
getFrom()
Get the end point reference of the source reference |
|
java.util.List<java.lang.Object> |
getHeaders()
Returns a list of objects that are contained in the message header |
|
java.lang.Object |
getMessageID()
Returns the id of the message |
|
Operation |
getOperation()
Returns the operation that created the message. |
|
EndpointReference |
getTo()
Get the end point reference of target service |
|
boolean |
isFault()
Determines if the message represents a fault/exception |
|
|
setBindingContext(T bindingContext)
Set the binding context that is in force for this message |
|
|
setBody(T body)
Sets the body of the message. |
|
|
setFaultBody(T fault)
Set the message body with a fault object. |
|
void |
setFrom(EndpointReference from)
Set the end point reference of the reference originating the message |
|
void |
setMessageID(java.lang.Object messageId)
Sets the id of the message |
|
void |
setOperation(Operation op)
Sets the operation that created the message. |
|
void |
setTo(EndpointReference to)
Set the end point reference of target service |
Method Detail |
---|
<T> T getBody()
<T> void setBody(T body)
body
- The body of the messageEndpointReference getFrom()
void setFrom(EndpointReference from)
from
- The end point reference of the reference originating the messageEndpointReference getTo()
void setTo(EndpointReference to)
to
- The end point reference of the service that the message targetsjava.lang.Object getMessageID()
void setMessageID(java.lang.Object messageId)
messageId
- The message IDboolean isFault()
<T> void setFaultBody(T fault)
fault
- The fault object represents an exceptionOperation getOperation()
void setOperation(Operation op)
op
- The operation that created the messagejava.util.List<java.lang.Object> getHeaders()
<T> T getBindingContext()
<T> void setBindingContext(T bindingContext)
bindingContext
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |