Class ExcludeAuthorizationService
java.lang.Object
org.gcube.service.helloworld.rest.ExcludeAuthorizationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAlways fails with400 Bad Request, to show the error returned to the client.Answers without any token: the path is listed underexcludesinapplication.yaml.notFound()Always fails with404 Not Found, to show the error returned to the client.jakarta.ws.rs.core.ResponseAnswers204 No Contentto the custom HTTP method PURGE, which OpenAPI cannot describe.
-
Constructor Details
-
ExcludeAuthorizationService
public ExcludeAuthorizationService()
-
-
Method Details
-
exludedMethod
Answers without any token: the path is listed underexcludesinapplication.yaml.- Returns:
- a message
-
badRequest
Always fails with400 Bad Request, to show the error returned to the client.- Returns:
- never returns
- Throws:
jakarta.ws.rs.WebApplicationException- always
-
notFound
Always fails with404 Not Found, to show the error returned to the client.- Returns:
- never returns
- Throws:
jakarta.ws.rs.WebApplicationException- always
-
testPurge
@Path("test-purge") public jakarta.ws.rs.core.Response testPurge() throws jakarta.ws.rs.WebApplicationExceptionAnswers204 No Contentto the custom HTTP method PURGE, which OpenAPI cannot describe.- Returns:
- an empty response
- Throws:
jakarta.ws.rs.WebApplicationException- never
-