Uses of Class
dev.galasa.framework.api.common.InternalServletException
Package
Description
-
Uses of InternalServletException in dev.galasa.framework.api.common
Modifier and TypeMethodDescriptionboolean
QueryParameters.checkAtLeastOneQueryParameterPresent
(String... queryParameters) 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) 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.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. -
Uses of InternalServletException in dev.galasa.framework.api.common.resources
Modifier 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
Modifier and TypeMethodDescriptionGalasaBeanSerialiser.getPropertyFromJsonString
(String jsonString) -
Uses of InternalServletException in dev.galasa.framework.auth.spi
Modifier and TypeMethodDescriptionvoid
IDexGrpcClient.deleteClient
(String clientId) void
IDexGrpcClient.revokeRefreshToken
(String userId, String clientId) void
IAuthService.revokeToken
(String tokenId)