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) ITestCatalogFetcher.fetchTestCatalog(IStream stream) Fetches the test catalog for the given stream and returns it as a JSON string.TestCatalogFetcher.fetchTestCatalog(IStream stream) Fetches the test catalog for the given stream and returns it as a JSON string.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 objectvoidvoidITestCatalogFetcher.streamTestCatalog(IStream stream, OutputStream outputStream) Fetches the test catalog for the given stream and writes the raw JSON bytes directly tooutputStreamwithout buffering the full body in memory.voidTestCatalogFetcher.streamTestCatalog(IStream stream, OutputStream outputStream) Fetches the test catalog for the given stream and writes the raw JSON bytes directly tooutputStreamwithout buffering the full body in memory.voidChecks 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) voidTagValidator.validateDescription(String description) voidStreamValidator.validateObr(StreamOBRData obr) Validates a single OBR object.voidStreamValidator.validateObrs(StreamOBRData[] obrs, boolean isRequired) Validates an array of OBRs.voidStreamValidator.validateRepository(String repositoryUrl, String mavenSecretName, boolean isRequired) Validates a repository URL field.protected voidSecretValidator.validateSecretName(String secretName) voidStreamValidator.validateStreamName(String streamName) voidTagValidator.validateTagName(String tagName) voidStreamValidator.validateTestCatalogUrl(String testCatalogUrl, boolean isRequired) Validates a test catalog URL field.StreamValidator.validateUrl(String fieldName, String urlToCheck) Validates that a URL string is a valid, well-formed URL. -
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)