TokenIntrospectionErrorResponse
, TokenIntrospectionSuccessResponse
public abstract class TokenIntrospectionResponse extends Object implements Response
Related specifications:
Constructor | Description |
---|---|
TokenIntrospectionResponse() |
Modifier and Type | Method | Description |
---|---|---|
static TokenIntrospectionResponse |
parse(HTTPResponse httpResponse) |
Parses a token introspection response from the specified HTTP
response.
|
TokenIntrospectionErrorResponse |
toErrorResponse() |
Casts this response to a token introspection error response.
|
TokenIntrospectionSuccessResponse |
toSuccessResponse() |
Casts this response to a token introspection success response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
indicatesSuccess, toHTTPResponse
public TokenIntrospectionResponse()
public TokenIntrospectionSuccessResponse toSuccessResponse()
public TokenIntrospectionErrorResponse toErrorResponse()
public static TokenIntrospectionResponse parse(HTTPResponse httpResponse) throws ParseException
httpResponse
- The HTTP response. Must not be null
.ParseException
- If the HTTP response couldn't be parsed to a
token introspection response.Copyright © 2018 Connect2id Ltd.. All rights reserved.