public class Request
extends java.lang.Object
Constructor and Description |
---|
Request() |
Modifier and Type | Method and Description |
---|---|
Request |
createCopy()
Creates a deep copy of this request.
|
boolean |
equals(java.lang.Object o) |
com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> |
getArguments() |
com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> |
getAttributes() |
byte[] |
getBody() |
com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> |
getMeta() |
java.lang.String |
getOperation() |
com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> |
getTemplateMap() |
int |
hashCode() |
void |
setArguments(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> arguments)
Sets the arguments to the supplied
ListMultimap . |
void |
setAttributes(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> attributes)
Sets the attributes to the supplied
ListMultimap . |
void |
setBody(byte[] body)
Sets body of the request.
|
void |
setMeta(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> metadata)
Sets the metadata to the supplied
ListMultimap . |
void |
setOperation(java.lang.String operation)
Sets operation of the request.
|
void |
setTemplateMap(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> template)
Sets the template to the supplied ListMultimap.
|
public java.lang.String getOperation()
public void setOperation(java.lang.String operation)
operation
- operation of Requestpublic com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> getArguments()
public void setArguments(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> arguments)
ListMultimap
. If the supplied map is
null
, this method sets the internal state to a newly constructed map so that the
getter will never return null
.arguments
- arguments which will be set for the requestpublic com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> attributes)
ListMultimap
. If the supplied map is
null
, this method sets the internal state to a newly constructed map so that the
getter will never return null
.attributes
- attributes which will be set for the requestpublic com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> getMeta()
public void setMeta(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> metadata)
ListMultimap
. If the supplied map is
null
, this method sets the internal state to a newly constructed map so that the
getter will never return null
.metadata
- metadata which will be set for the requestpublic com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> getTemplateMap()
public void setTemplateMap(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> template)
template
- templates which will be set for the requestpublic byte[] getBody()
public void setBody(byte[] body)
body
- body that will set for the requestpublic Request createCopy()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object