@Generated(value="Autogenerated by Thrift Compiler (0.9.2)") public class Message extends Object implements org.apache.thrift.TBase<Message,Message._Fields>, Serializable, Cloneable, Comparable<Message>
Modifier and Type | Class and Description |
---|---|
static class |
Message._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
String |
contentType |
long |
epoch |
String |
httpMethod |
String |
incomingTransport |
boolean |
isDoingMTOM |
boolean |
isDoingREST |
boolean |
isDoingSwA |
ByteBuffer |
message |
String |
messageId |
static Map<Message._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
requestURI |
String |
soapAction |
Map<String,String> |
transportHeaders |
Constructor and Description |
---|
Message() |
Message(Message other)
Performs a deep copy on other.
|
Message(String messageId,
String contentType,
ByteBuffer message,
String soapAction,
long epoch,
Map<String,String> transportHeaders,
String requestURI,
boolean isDoingREST,
String httpMethod,
boolean isDoingMTOM,
boolean isDoingSwA,
String incomingTransport) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForMessage() |
void |
clear() |
int |
compareTo(Message other) |
Message |
deepCopy() |
boolean |
equals(Message that) |
boolean |
equals(Object that) |
Message._Fields |
fieldForId(int fieldId) |
String |
getContentType() |
long |
getEpoch() |
Object |
getFieldValue(Message._Fields field) |
String |
getHttpMethod() |
String |
getIncomingTransport() |
byte[] |
getMessage() |
String |
getMessageId() |
String |
getRequestURI() |
String |
getSoapAction() |
Map<String,String> |
getTransportHeaders() |
int |
getTransportHeadersSize() |
int |
hashCode() |
boolean |
isIsDoingMTOM() |
boolean |
isIsDoingREST() |
boolean |
isIsDoingSwA() |
boolean |
isSet(Message._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetContentType()
Returns true if field contentType is set (has been assigned a value) and false otherwise
|
boolean |
isSetEpoch()
Returns true if field epoch is set (has been assigned a value) and false otherwise
|
boolean |
isSetHttpMethod()
Returns true if field httpMethod is set (has been assigned a value) and false otherwise
|
boolean |
isSetIncomingTransport()
Returns true if field incomingTransport is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsDoingMTOM()
Returns true if field isDoingMTOM is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsDoingREST()
Returns true if field isDoingREST is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsDoingSwA()
Returns true if field isDoingSwA is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessageId()
Returns true if field messageId is set (has been assigned a value) and false otherwise
|
boolean |
isSetRequestURI()
Returns true if field requestURI is set (has been assigned a value) and false otherwise
|
boolean |
isSetSoapAction()
Returns true if field soapAction is set (has been assigned a value) and false otherwise
|
boolean |
isSetTransportHeaders()
Returns true if field transportHeaders is set (has been assigned a value) and false otherwise
|
void |
putToTransportHeaders(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Message |
setContentType(String contentType) |
void |
setContentTypeIsSet(boolean value) |
Message |
setEpoch(long epoch) |
void |
setEpochIsSet(boolean value) |
void |
setFieldValue(Message._Fields field,
Object value) |
Message |
setHttpMethod(String httpMethod) |
void |
setHttpMethodIsSet(boolean value) |
Message |
setIncomingTransport(String incomingTransport) |
void |
setIncomingTransportIsSet(boolean value) |
Message |
setIsDoingMTOM(boolean isDoingMTOM) |
void |
setIsDoingMTOMIsSet(boolean value) |
Message |
setIsDoingREST(boolean isDoingREST) |
void |
setIsDoingRESTIsSet(boolean value) |
Message |
setIsDoingSwA(boolean isDoingSwA) |
void |
setIsDoingSwAIsSet(boolean value) |
Message |
setMessage(byte[] message) |
Message |
setMessage(ByteBuffer message) |
Message |
setMessageId(String messageId) |
void |
setMessageIdIsSet(boolean value) |
void |
setMessageIsSet(boolean value) |
Message |
setRequestURI(String requestURI) |
void |
setRequestURIIsSet(boolean value) |
Message |
setSoapAction(String soapAction) |
void |
setSoapActionIsSet(boolean value) |
Message |
setTransportHeaders(Map<String,String> transportHeaders) |
void |
setTransportHeadersIsSet(boolean value) |
String |
toString() |
void |
unsetContentType() |
void |
unsetEpoch() |
void |
unsetHttpMethod() |
void |
unsetIncomingTransport() |
void |
unsetIsDoingMTOM() |
void |
unsetIsDoingREST() |
void |
unsetIsDoingSwA() |
void |
unsetMessage() |
void |
unsetMessageId() |
void |
unsetRequestURI() |
void |
unsetSoapAction() |
void |
unsetTransportHeaders() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String messageId
public String contentType
public ByteBuffer message
public String soapAction
public long epoch
public String requestURI
public boolean isDoingREST
public String httpMethod
public boolean isDoingMTOM
public boolean isDoingSwA
public String incomingTransport
public static final Map<Message._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Message()
public Message(String messageId, String contentType, ByteBuffer message, String soapAction, long epoch, Map<String,String> transportHeaders, String requestURI, boolean isDoingREST, String httpMethod, boolean isDoingMTOM, boolean isDoingSwA, String incomingTransport)
public Message(Message other)
public Message deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Message,Message._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Message,Message._Fields>
public String getMessageId()
public void unsetMessageId()
public boolean isSetMessageId()
public void setMessageIdIsSet(boolean value)
public String getContentType()
public void unsetContentType()
public boolean isSetContentType()
public void setContentTypeIsSet(boolean value)
public byte[] getMessage()
public ByteBuffer bufferForMessage()
public Message setMessage(byte[] message)
public Message setMessage(ByteBuffer message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public String getSoapAction()
public void unsetSoapAction()
public boolean isSetSoapAction()
public void setSoapActionIsSet(boolean value)
public long getEpoch()
public Message setEpoch(long epoch)
public void unsetEpoch()
public boolean isSetEpoch()
public void setEpochIsSet(boolean value)
public int getTransportHeadersSize()
public void unsetTransportHeaders()
public boolean isSetTransportHeaders()
public void setTransportHeadersIsSet(boolean value)
public String getRequestURI()
public void unsetRequestURI()
public boolean isSetRequestURI()
public void setRequestURIIsSet(boolean value)
public boolean isIsDoingREST()
public Message setIsDoingREST(boolean isDoingREST)
public void unsetIsDoingREST()
public boolean isSetIsDoingREST()
public void setIsDoingRESTIsSet(boolean value)
public String getHttpMethod()
public void unsetHttpMethod()
public boolean isSetHttpMethod()
public void setHttpMethodIsSet(boolean value)
public boolean isIsDoingMTOM()
public Message setIsDoingMTOM(boolean isDoingMTOM)
public void unsetIsDoingMTOM()
public boolean isSetIsDoingMTOM()
public void setIsDoingMTOMIsSet(boolean value)
public boolean isIsDoingSwA()
public Message setIsDoingSwA(boolean isDoingSwA)
public void unsetIsDoingSwA()
public boolean isSetIsDoingSwA()
public void setIsDoingSwAIsSet(boolean value)
public String getIncomingTransport()
public void unsetIncomingTransport()
public boolean isSetIncomingTransport()
public void setIncomingTransportIsSet(boolean value)
public void setFieldValue(Message._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Message,Message._Fields>
public Object getFieldValue(Message._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Message,Message._Fields>
public boolean isSet(Message._Fields field)
isSet
in interface org.apache.thrift.TBase<Message,Message._Fields>
public boolean equals(Message that)
public int compareTo(Message other)
compareTo
in interface Comparable<Message>
public Message._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Message,Message._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Message,Message._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Message,Message._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 WSO2. All rights reserved.