public class AuthHeader extends Header
Constructor and Description |
---|
AuthHeader() |
AuthHeader(AuthToken token) |
Modifier and Type | Method and Description |
---|---|
AuthToken |
getToken() |
protected static AuthToken |
readAuthToken(DataInput in) |
void |
readFrom(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) |
String |
toString() |
protected static void |
writeAuthToken(DataOutput out,
AuthToken tok) |
void |
writeTo(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(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
public int size()
Header
protected static void writeAuthToken(DataOutput out, AuthToken tok) throws Exception
Exception
protected static AuthToken readAuthToken(DataInput in) throws Exception
Exception
protected static int sizeOf(AuthToken tok)
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.