public static final class InvalidGrant.Builder
extends java.lang.Object
InvalidGrant
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
InvalidGrant . |
Modifier and Type | Method and Description |
---|---|
InvalidGrant |
build() |
InvalidGrant.Builder |
setErrorDescription(java.lang.String errorDescription)
Human-readable ASCII text providing additional information, used to assist the
client developer in understanding the error that occurred.
|
InvalidGrant.Builder |
setErrorUri(java.net.URI errorUri)
A URI identifying a human-readable web page with information about the error,
used to provide the client developer with additional information about the
error.
|
public Builder()
InvalidGrant
.public InvalidGrant.Builder setErrorDescription(java.lang.String errorDescription)
errorDescription
- New value for the property.public InvalidGrant.Builder setErrorUri(java.net.URI errorUri)
errorUri
- New value for the property.public InvalidGrant build()