
com.nimbusds.oauth2.sdk.Response Maven / Gradle / Ivy
package com.nimbusds.oauth2.sdk;
import com.nimbusds.oauth2.sdk.http.HTTPResponse;
/**
* Response message, serialises to an HTTP response.
*/
public interface Response extends Message {
/**
* Checks if the response indicates success.
*
* @return {@code true} if the response indicates success, else
* {@code false}.
*/
boolean indicatesSuccess();
/**
* Returns the matching HTTP response.
*
* @return The HTTP response.
*/
HTTPResponse toHTTPResponse();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy