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 TypeMethodDescriptionvoidbooleanQueryParameters.checkAtLeastOneQueryParameterPresent(String... queryParameters) voidQueryParameters.checkForUnsupportedQueryParameters(SupportedQueryParameterNames supportedParamNames) protected voidBaseRoute.checkJsonElementIsValidJSON(com.google.gson.JsonElement element) Checks the json element to make sure it is not a NULL value or an empty objectprotected booleanBaseRoute.checkRequestHasContent(javax.servlet.http.HttpServletRequest request) protected StringBaseRoute.getResponseType(String requestedAcceptTypes, MimeType defaultType, List<MimeType> supportedTypes) booleanQueryParameters.getSingleBoolean(String queryParameterName, boolean defaultValue) QueryParameters.getSingleInstant(String queryParameterName, Instant defaultValue) intQueryParameters.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.booleanIRoute.isActionPermitted(BuiltInAction action, String loginId) Checks if the given action is permitted for the user that sent the given requestbooleanProtectedRoute.isActionPermitted(BuiltInAction action, String loginId) booleanPublicRoute.isActionPermitted(BuiltInAction action, String loginId) booleanRBACValidator.isActionPermitted(BuiltInAction action, String loginId) protected <T> TBaseRoute.parseRequestBody(javax.servlet.http.HttpServletRequest request, Class<T> clazz) Parses a given HTTP request's body into a bean objectvoidvoidChecks that the provided bean is valid according to its validation rules.protected voidBaseRoute.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 voidProtectedRoute.validateActionPermitted(BuiltInAction action, String loginId) voidRBACValidator.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 TypeMethodDescriptionvoidResourceNameValidator.assertNamespaceCharPatternIsValid(String possibleNamespaceName) voidResourceNameValidator.assertPropertyCharPatternPrefixIsValid(String prefix) Validate the prefix of a cps property.voidResourceNameValidator.assertPropertyCharPatternSuffixIsValid(String suffix) voidResourceNameValidator.assertPropertyNameCharPatternIsValid(String propertyName) protected voidGalasaResourceValidator.checkResourceHasRequiredFields(com.google.gson.JsonObject resourceJson, String expectedApiVersion) voidCPSProperty.deletePropertyFromStore()voidSecret.deleteSecretFromCredentialsStore()booleanCPSProperty.isPropertyValid()voidSecret.loadValueFromCredentialsStore()voidCPSProperty.setPropertyToStore(GalasaProperty galasaProperty, boolean updateProperty) voidSecret.setSecretToCredentialsStore(ICredentials newValue, String username) protected voidSecretValidator.validateDescription(String description) protected voidSecretValidator.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 TypeMethodDescriptionvoidIDexGrpcClient.deleteClient(String clientId) AuthServiceFactory.getAuthService()IAuthServiceFactory.getAuthService()voidIDexGrpcClient.revokeRefreshToken(String userId, String clientId) voidIAuthService.revokeToken(String tokenId, String requestorUserLoginId)