@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-08-23") public class Http1Rule extends Object implements org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>, Serializable, Cloneable, Comparable<Http1Rule>
Modifier and Type | Class and Description |
---|---|
static class |
Http1Rule._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<Http1HeaderTuple> |
headers |
static Map<Http1Rule._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Http1Method |
method |
String |
uri |
Http1Version |
version |
Constructor and Description |
---|
Http1Rule() |
Http1Rule(Http1Rule other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToHeaders(Http1HeaderTuple elem) |
void |
clear() |
int |
compareTo(Http1Rule other) |
Http1Rule |
deepCopy() |
boolean |
equals(Http1Rule that) |
boolean |
equals(Object that) |
Http1Rule._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Http1Rule._Fields field) |
List<Http1HeaderTuple> |
getHeaders() |
Iterator<Http1HeaderTuple> |
getHeadersIterator() |
int |
getHeadersSize() |
Http1Method |
getMethod() |
String |
getUri() |
Http1Version |
getVersion() |
int |
hashCode() |
boolean |
isSet(Http1Rule._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetHeaders()
Returns true if field headers is set (has been assigned a value) and false otherwise
|
boolean |
isSetMethod()
Returns true if field method is set (has been assigned a value) and false otherwise
|
boolean |
isSetUri()
Returns true if field uri is set (has been assigned a value) and false otherwise
|
boolean |
isSetVersion()
Returns true if field version is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Http1Rule._Fields field,
Object value) |
Http1Rule |
setHeaders(List<Http1HeaderTuple> headers) |
void |
setHeadersIsSet(boolean value) |
Http1Rule |
setMethod(Http1Method method) |
void |
setMethodIsSet(boolean value) |
Http1Rule |
setUri(String uri) |
void |
setUriIsSet(boolean value) |
Http1Rule |
setVersion(Http1Version version) |
void |
setVersionIsSet(boolean value) |
String |
toString() |
void |
unsetHeaders() |
void |
unsetMethod() |
void |
unsetUri() |
void |
unsetVersion() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public Http1Method method
Http1Method
public String uri
public Http1Version version
Http1Version
public List<Http1HeaderTuple> headers
public static final Map<Http1Rule._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Http1Rule()
public Http1Rule(Http1Rule other)
public Http1Rule deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public Http1Method getMethod()
Http1Method
public Http1Rule setMethod(Http1Method method)
Http1Method
public void unsetMethod()
public boolean isSetMethod()
public void setMethodIsSet(boolean value)
public String getUri()
public void unsetUri()
public boolean isSetUri()
public void setUriIsSet(boolean value)
public Http1Version getVersion()
Http1Version
public Http1Rule setVersion(Http1Version version)
Http1Version
public void unsetVersion()
public boolean isSetVersion()
public void setVersionIsSet(boolean value)
public int getHeadersSize()
public Iterator<Http1HeaderTuple> getHeadersIterator()
public void addToHeaders(Http1HeaderTuple elem)
public List<Http1HeaderTuple> getHeaders()
public Http1Rule setHeaders(List<Http1HeaderTuple> headers)
public void unsetHeaders()
public boolean isSetHeaders()
public void setHeadersIsSet(boolean value)
public void setFieldValue(Http1Rule._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public Object getFieldValue(Http1Rule._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public boolean isSet(Http1Rule._Fields field)
isSet
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public boolean equals(Http1Rule that)
public int compareTo(Http1Rule other)
compareTo
in interface Comparable<Http1Rule>
public Http1Rule._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Http1Rule,Http1Rule._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<Http1Rule,Http1Rule._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All Rights Reserved.