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