@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-08-23") public class Http1HeaderTuple extends Object implements org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>, Serializable, Cloneable, Comparable<Http1HeaderTuple>
Modifier and Type | Class and Description |
---|---|
static class |
Http1HeaderTuple._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
String |
key |
static Map<Http1HeaderTuple._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
value |
Constructor and Description |
---|
Http1HeaderTuple() |
Http1HeaderTuple(Http1HeaderTuple other)
Performs a deep copy on other.
|
Http1HeaderTuple(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Http1HeaderTuple other) |
Http1HeaderTuple |
deepCopy() |
boolean |
equals(Http1HeaderTuple that) |
boolean |
equals(Object that) |
Http1HeaderTuple._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Http1HeaderTuple._Fields field) |
String |
getKey() |
String |
getValue() |
int |
hashCode() |
boolean |
isSet(Http1HeaderTuple._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetKey()
Returns true if field key is set (has been assigned a value) and false otherwise
|
boolean |
isSetValue()
Returns true if field value is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Http1HeaderTuple._Fields field,
Object value) |
Http1HeaderTuple |
setKey(String key) |
void |
setKeyIsSet(boolean value) |
Http1HeaderTuple |
setValue(String value) |
void |
setValueIsSet(boolean value) |
String |
toString() |
void |
unsetKey() |
void |
unsetValue() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String key
public String value
public static final Map<Http1HeaderTuple._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Http1HeaderTuple()
public Http1HeaderTuple(Http1HeaderTuple other)
public Http1HeaderTuple deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public String getKey()
public Http1HeaderTuple setKey(String key)
public void unsetKey()
public boolean isSetKey()
public void setKeyIsSet(boolean value)
public String getValue()
public Http1HeaderTuple setValue(String value)
public void unsetValue()
public boolean isSetValue()
public void setValueIsSet(boolean value)
public void setFieldValue(Http1HeaderTuple._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public Object getFieldValue(Http1HeaderTuple._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public boolean isSet(Http1HeaderTuple._Fields field)
isSet
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public boolean equals(Http1HeaderTuple that)
public int compareTo(Http1HeaderTuple other)
compareTo
in interface Comparable<Http1HeaderTuple>
public Http1HeaderTuple._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Http1HeaderTuple,Http1HeaderTuple._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<Http1HeaderTuple,Http1HeaderTuple._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All Rights Reserved.