public abstract class Authorization extends HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
Authorization() |
Modifier and Type | Method and Description |
---|---|
static Authorization |
basic(java.lang.String username,
java.lang.String password) |
static Authorization |
create(HttpCredentials credentials) |
abstract HttpCredentials |
credentials() |
static Authorization |
oauth2(java.lang.String token) |
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
parse, renderInRequests, renderInResponses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
render
public abstract HttpCredentials credentials()
public static Authorization create(HttpCredentials credentials)
public static Authorization basic(java.lang.String username, java.lang.String password)
public static Authorization oauth2(java.lang.String token)