Uses of Class
dev.galasa.framework.api.common.InternalServletException
Packages that use InternalServletException
Package
Description
-
Uses of InternalServletException in dev.galasa.framework.api.common
Methods in dev.galasa.framework.api.common that throw InternalServletExceptionModifier and TypeMethodDescriptionboolean
QueryParameters.checkAtLeastOneQueryParameterPresent
(String... queryParameters) void
QueryParameters.checkForUnsupportedQueryParameters
(SupportedQueryParameterNames supportedParamNames) protected void
BaseRoute.checkJsonElementIsValidJSON
(com.google.gson.JsonElement element) Checks the json element to make sure it is not a NULL value or an empty objectprotected boolean
BaseRoute.checkRequestHasContent
(javax.servlet.http.HttpServletRequest request) protected String
BaseRoute.getResponseType
(String requestedAcceptTypes, MimeType defaultType, List<MimeType> supportedTypes) boolean
QueryParameters.getSingleBoolean
(String queryParameterName, boolean defaultValue) QueryParameters.getSingleInstant
(String queryParameterName, Instant defaultValue) int
QueryParameters.getSingleInt
(String queryParameterName, int defaultValue) QueryParameters.getSingleString
(String queryParameterName, String defaultValue) QueryParameters.getUnsupportedQueryParameters
(SupportedQueryParameterNames supportedParamNames) JwtWrapper.getUsername()
Gets the username from a request's JWT, throwing an exception if a username could not be retrieved from the supplied JWT claims.boolean
IRoute.isActionPermitted
(BuiltInAction action, String loginId) Checks if the given action is permitted for the user that sent the given requestboolean
ProtectedRoute.isActionPermitted
(BuiltInAction action, String loginId) boolean
PublicRoute.isActionPermitted
(BuiltInAction action, String loginId) boolean
RBACValidator.isActionPermitted
(BuiltInAction action, String loginId) protected <T> T
BaseRoute.parseRequestBody
(javax.servlet.http.HttpServletRequest request, Class<T> clazz) Parses a given HTTP request's body into a bean objectvoid
Checks that the provided bean is valid according to its validation rules.protected void
BaseRoute.validateAcceptHeader
(javax.servlet.http.HttpServletRequest request, MimeType... supportedTypes) Checks if a given HTTP request contains an "Accept" header and if the values of that header are part of the default or the supplied list.protected void
ProtectedRoute.validateActionPermitted
(BuiltInAction action, String loginId) void
RBACValidator.validateActionPermitted
(BuiltInAction action, String loginId) Constructors in dev.galasa.framework.api.common that throw InternalServletExceptionModifierConstructorDescriptionHttpRequestContext
(javax.servlet.http.HttpServletRequest request, Environment env) -
Uses of InternalServletException in dev.galasa.framework.api.common.resources
Methods in dev.galasa.framework.api.common.resources that throw InternalServletExceptionModifier and TypeMethodDescriptionvoid
ResourceNameValidator.assertNamespaceCharPatternIsValid
(String possibleNamespaceName) void
ResourceNameValidator.assertPropertyCharPatternPrefixIsValid
(String prefix) Validate the prefix of a cps property.void
ResourceNameValidator.assertPropertyCharPatternSuffixIsValid
(String suffix) void
ResourceNameValidator.assertPropertyNameCharPatternIsValid
(String propertyName) protected void
GalasaResourceValidator.checkResourceHasRequiredFields
(com.google.gson.JsonObject resourceJson, String expectedApiVersion) void
CPSProperty.deletePropertyFromStore()
void
Secret.deleteSecretFromCredentialsStore()
boolean
CPSProperty.isPropertyValid()
void
Secret.loadValueFromCredentialsStore()
void
CPSProperty.setPropertyToStore
(GalasaProperty galasaProperty, boolean updateProperty) void
Secret.setSecretToCredentialsStore
(ICredentials newValue, String username) protected void
SecretValidator.validateDescription
(String description) protected void
SecretValidator.validateSecretName
(String secretName) -
Uses of InternalServletException in dev.galasa.framework.api.common.resources.beans
Methods in dev.galasa.framework.api.common.resources.beans that throw InternalServletExceptionModifier and TypeMethodDescriptionGalasaBeanSerialiser.getPropertyFromJsonString
(String jsonString) -
Uses of InternalServletException in dev.galasa.framework.auth.spi
Methods in dev.galasa.framework.auth.spi that throw InternalServletExceptionModifier and TypeMethodDescriptionvoid
IDexGrpcClient.deleteClient
(String clientId) AuthServiceFactory.getAuthService()
IAuthServiceFactory.getAuthService()
void
IDexGrpcClient.revokeRefreshToken
(String userId, String clientId) void
IAuthService.revokeToken
(String tokenId, String requestorUserLoginId)