Package org.gcube.oidc.rest
Class OpenIdConnectRESTHelperException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.gcube.oidc.rest.OpenIdConnectRESTHelperException
- All Implemented Interfaces:
Serializable
public class OpenIdConnectRESTHelperException extends Exception
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OpenIdConnectRESTHelperException(String message)OpenIdConnectRESTHelperException(String message, Exception cause) -
Method Summary
Modifier and Type Method Description static OpenIdConnectRESTHelperExceptioncreate(String message, int status, String contentType, String textResponse)StringgetContentType()StringgetResponseString()intgetStatus()booleanhasJSONPayload()voidsetContentType(String contentType)voidsetResponseString(String responseString)voidsetStatus(int status)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OpenIdConnectRESTHelperException
-
OpenIdConnectRESTHelperException
-
-
Method Details
-
create
public static OpenIdConnectRESTHelperException create(String message, int status, String contentType, String textResponse) -
setStatus
public void setStatus(int status) -
getStatus
public int getStatus() -
setContentType
-
getContentType
-
hasJSONPayload
public boolean hasJSONPayload() -
setResponseString
-
getResponseString
-