We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.hilla.
Package com.vaadin.hilla
Class EndpointInvocationException.EndpointForbiddenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.vaadin.hilla.EndpointInvocationException
com.vaadin.hilla.EndpointInvocationException.EndpointHttpException
com.vaadin.hilla.EndpointInvocationException.EndpointForbiddenException
All Implemented Interfaces:
Enclosing class:
public static class EndpointInvocationException.EndpointForbiddenException
extends EndpointInvocationException.EndpointHttpException
Exception indicating access to the endpoint was denied as the user is not authorized.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.hilla.EndpointInvocationException
EndpointInvocationException.EndpointAccessDeniedException, EndpointInvocationException.EndpointBadRequestException, EndpointInvocationException.EndpointForbiddenException, EndpointInvocationException.EndpointHttpException, EndpointInvocationException.EndpointInternalException, EndpointInvocationException.EndpointNotFoundException, EndpointInvocationException.EndpointUnauthorizedException
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpStatus
Returns the HTTP status.
Methods inherited from class com.vaadin.hilla.EndpointInvocationException.EndpointHttpException
getHttpStatusCode
Methods inherited from class com.vaadin.hilla.EndpointInvocationException
getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EndpointForbiddenException
-
-
Method Details
-
getHttpStatus
public org.springframework.http.HttpStatus getHttpStatus()Description copied from class:
EndpointInvocationException.EndpointHttpException
Returns the HTTP status. Only 4xx and 5xx statuses are allowed.
Specified by:
getHttpStatus
in classEndpointInvocationException.EndpointHttpException
Returns:
the HTTP status
-