public class ErrorResponseHttpParamsAdapter extends java.lang.Object implements ErrorResponse
HttpParameters
to ErrorResponse
.JSON_KEY_ERROR, JSON_KEY_ERROR_DESCRIPTION, JSON_KEY_ERROR_URI, JSON_KEY_STATE
Constructor and Description |
---|
ErrorResponseHttpParamsAdapter(io.micronaut.http.HttpParameters httpParameters)
Constructs an adapter from
HttpParameters to ErrorResponse . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError() |
java.lang.String |
getErrorDescription() |
java.lang.String |
getErrorUri() |
java.lang.String |
getState()
Although the state is required if the Authorization Request included the state parameter.
|
public ErrorResponseHttpParamsAdapter(io.micronaut.http.HttpParameters httpParameters)
HttpParameters
to ErrorResponse
.httpParameters
- Http Parameters@Nonnull public java.lang.String getError()
getError
in interface ErrorResponse
@Nullable public java.lang.String getErrorDescription()
getErrorDescription
in interface ErrorResponse
@Nullable public java.lang.String getState()
ErrorResponse
getState
in interface ErrorResponse
@Nullable public java.lang.String getErrorUri()
getErrorUri
in interface ErrorResponse