Package com.nimbusds.oauth2.sdk
Class RequestObjectPOSTResponse
java.lang.Object
com.nimbusds.oauth2.sdk.RequestObjectPOSTResponse
- Direct Known Subclasses:
RequestObjectPOSTErrorResponse
,RequestObjectPOSTSuccessResponse
Deprecated.
Request object POST response.
Related specifications:
- Financial-grade API - Part 2: Read and Write API Security Profile, section 7.
- The OAuth 2.0 Authorization Framework: JWT Secured Authorization Request (JAR) (RFC 9101).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestObjectPOSTResponse
parse
(HTTPResponse httpResponse) Deprecated.Parses a request object POST response from the specified HTTP response.Deprecated.Casts this response to a request object POST error response.Deprecated.Casts this response to a request object POST success response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nimbusds.oauth2.sdk.Response
indicatesSuccess, toHTTPResponse
-
Constructor Details
-
RequestObjectPOSTResponse
public RequestObjectPOSTResponse()Deprecated.
-
-
Method Details
-
toSuccessResponse
Deprecated.Casts this response to a request object POST success response.- Returns:
- The request object POST success response.
-
toErrorResponse
Deprecated.Casts this response to a request object POST error response.- Returns:
- The request object POST error response.
-
parse
Deprecated.Parses a request object POST response from the specified HTTP response.- Parameters:
httpResponse
- The HTTP response. Must not benull
.- Returns:
- The request object POST success or error response.
- Throws:
ParseException
- If the HTTP response couldn't be parsed to a request object POST response.
-