Package com.nimbusds.oauth2.sdk
Class RequestObjectPOSTResponse
- java.lang.Object
-
- com.nimbusds.oauth2.sdk.RequestObjectPOSTResponse
-
- Direct Known Subclasses:
RequestObjectPOSTErrorResponse
,RequestObjectPOSTSuccessResponse
@Deprecated public abstract class RequestObjectPOSTResponse extends Object implements Response
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) (draft-ietf-oauth-jwsreq-17).
-
-
Constructor Summary
Constructors Constructor Description RequestObjectPOSTResponse()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RequestObjectPOSTResponse
parse(HTTPResponse httpResponse)
Deprecated.Parses a request object POST response from the specified HTTP response.RequestObjectPOSTErrorResponse
toErrorResponse()
Deprecated.Casts this response to a request object POST error response.RequestObjectPOSTSuccessResponse
toSuccessResponse()
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 Detail
-
RequestObjectPOSTResponse
public RequestObjectPOSTResponse()
Deprecated.
-
-
Method Detail
-
toSuccessResponse
public RequestObjectPOSTSuccessResponse toSuccessResponse()
Deprecated.Casts this response to a request object POST success response.- Returns:
- The request object POST success response.
-
toErrorResponse
public RequestObjectPOSTErrorResponse toErrorResponse()
Deprecated.Casts this response to a request object POST error response.- Returns:
- The request object POST error response.
-
parse
public static RequestObjectPOSTResponse parse(HTTPResponse httpResponse) throws ParseException
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.
-
-