|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.thrift.AuthenticationRequest
public class AuthenticationRequest
Authentication requests can contain any data, dependent on the AuthenticationBackend used
Nested Class Summary | |
---|---|
static class |
AuthenticationRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
credentials
|
static java.util.Map<AuthenticationRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
AuthenticationRequest()
|
|
AuthenticationRequest(AuthenticationRequest other)
Performs a deep copy on other. |
|
AuthenticationRequest(java.util.Map<java.lang.String,java.lang.String> credentials)
|
Method Summary | |
---|---|
AuthenticationRequest |
clone()
Deprecated. |
AuthenticationRequest |
deepCopy()
|
boolean |
equals(AuthenticationRequest that)
|
boolean |
equals(java.lang.Object that)
|
java.util.Map<java.lang.String,java.lang.String> |
getCredentials()
|
int |
getCredentialsSize()
|
java.lang.Object |
getFieldValue(AuthenticationRequest._Fields field)
|
java.lang.Object |
getFieldValue(int fieldId)
|
int |
hashCode()
|
boolean |
isSet(AuthenticationRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSet(int fieldID)
|
boolean |
isSetCredentials()
Returns true if field credentials is set (has been asigned a value) and false otherwise |
void |
putToCredentials(java.lang.String key,
java.lang.String val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
AuthenticationRequest |
setCredentials(java.util.Map<java.lang.String,java.lang.String> credentials)
|
void |
setCredentialsIsSet(boolean value)
|
void |
setFieldValue(AuthenticationRequest._Fields field,
java.lang.Object value)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
java.lang.String |
toString()
|
void |
unsetCredentials()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> credentials
public static final java.util.Map<AuthenticationRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public AuthenticationRequest()
public AuthenticationRequest(java.util.Map<java.lang.String,java.lang.String> credentials)
public AuthenticationRequest(AuthenticationRequest other)
Method Detail |
---|
public AuthenticationRequest deepCopy()
deepCopy
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
@Deprecated public AuthenticationRequest clone()
clone
in class java.lang.Object
public int getCredentialsSize()
public void putToCredentials(java.lang.String key, java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getCredentials()
public AuthenticationRequest setCredentials(java.util.Map<java.lang.String,java.lang.String> credentials)
public void unsetCredentials()
public boolean isSetCredentials()
public void setCredentialsIsSet(boolean value)
public void setFieldValue(AuthenticationRequest._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public java.lang.Object getFieldValue(AuthenticationRequest._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public boolean isSet(AuthenticationRequest._Fields field)
isSet
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<AuthenticationRequest._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(AuthenticationRequest that)
public int hashCode()
hashCode
in class java.lang.Object
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<AuthenticationRequest._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<AuthenticationRequest._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |