public class AuthHeader extends Header
Constructor and Description |
---|
AuthHeader() |
AuthHeader(AuthToken token) |
Modifier and Type | Method and Description |
---|---|
AuthToken |
getToken() |
protected static AuthToken |
readAuthToken(java.io.DataInput in) |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
void |
setToken(AuthToken token) |
int |
size()
To be implemented by subclasses.
|
protected static int |
sizeOf(AuthToken tok) |
AuthToken |
token() |
AuthHeader |
token(AuthToken token) |
java.lang.String |
toString() |
protected static void |
writeAuthToken(java.io.DataOutput out,
AuthToken tok) |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected AuthToken token
public AuthHeader()
public AuthHeader(AuthToken token)
public void setToken(AuthToken token)
public AuthToken getToken()
public AuthHeader token(AuthToken token)
public AuthToken token()
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
java.lang.Exception
public int size()
Header
protected static void writeAuthToken(java.io.DataOutput out, AuthToken tok) throws java.lang.Exception
java.lang.Exception
protected static AuthToken readAuthToken(java.io.DataInput in) throws java.lang.Exception
java.lang.Exception
protected static int sizeOf(AuthToken tok)
Copyright © 1998-2020 Red Hat. All Rights Reserved.