|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.oauth.v2.domain.Header
public class Header
The header for the OAuth token, contains the signer algorithm's name and the type of the token
| Nested Class Summary | |
|---|---|
static class |
Header.Builder
|
| Constructor Summary | |
|---|---|
protected |
Header(String signerAlgorithm,
String type)
|
| Method Summary | |
|---|---|
static Header.Builder |
builder()
|
boolean |
equals(Object obj)
|
String |
getSignerAlgorithm()
The name of the algorithm used to compute the signature, e.g., "RS256" |
String |
getType()
The type of the token, e.g., "JWT" |
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
Header.Builder |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Header(String signerAlgorithm,
String type)
| Method Detail |
|---|
public static Header.Builder builder()
public Header.Builder toBuilder()
public String getSignerAlgorithm()
public String getType()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||