Package com.nimbusds.oauth2.sdk
Interface Response
-
- All Superinterfaces:
Message
- All Known Subinterfaces:
AuthenticationResponse
,ErrorResponse
,SuccessResponse
- All Known Implementing Classes:
AccessTokenResponse
,AuthenticationErrorResponse
,AuthenticationSuccessResponse
,AuthorizationErrorResponse
,AuthorizationResponse
,AuthorizationSuccessResponse
,ClientInformationResponse
,ClientRegistrationErrorResponse
,ClientRegistrationResponse
,DeviceAuthorizationErrorResponse
,DeviceAuthorizationResponse
,DeviceAuthorizationSuccessResponse
,OIDCClientInformationResponse
,OIDCTokenResponse
,PushedAuthorizationErrorResponse
,PushedAuthorizationResponse
,PushedAuthorizationSuccessResponse
,RequestObjectPOSTErrorResponse
,RequestObjectPOSTResponse
,RequestObjectPOSTSuccessResponse
,TokenErrorResponse
,TokenIntrospectionErrorResponse
,TokenIntrospectionResponse
,TokenIntrospectionSuccessResponse
,TokenResponse
,UserInfoErrorResponse
,UserInfoResponse
,UserInfoSuccessResponse
public interface Response extends Message
Response message, serialises to an HTTP response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
indicatesSuccess()
Checks if the response indicates success.HTTPResponse
toHTTPResponse()
Returns the matching HTTP response.
-
-
-
Method Detail
-
indicatesSuccess
boolean indicatesSuccess()
Checks if the response indicates success.- Returns:
true
if the response indicates success, elsefalse
.
-
toHTTPResponse
HTTPResponse toHTTPResponse()
Returns the matching HTTP response.- Returns:
- The HTTP response.
-
-