Package io.quarkiverse.renarde
Class Controller
java.lang.Object
io.quarkiverse.renarde.Controller
- Direct Known Subclasses:
HxController
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Flashprotected I18Nprotected io.quarkus.security.identity.SecurityIdentityprotected RenderArgsprotected jakarta.ws.rs.core.UriInfoprotected Validation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Responseprotected voidThis hook is called before any redirects caused by calls to controller public methods, including redirect(FooController.class).method().protected static StringemptyAsNull(String val) protected voidprotected jakarta.ws.rs.core.Responseprotected jakarta.ws.rs.core.Responseprotected jakarta.ws.rs.core.ResponsenotFound()protected jakarta.ws.rs.core.Responseprotected voidnotFoundIfNull(Object obj) protected voidprotected <T extends Controller>
Tprotected jakarta.ws.rs.core.Responseprotected static jakarta.ws.rs.core.Responseprotected jakarta.ws.rs.core.ResponsetemporaryRedirect(URI uri) protected boolean
-
Field Details
-
i18n
-
identity
@Inject protected io.quarkus.security.identity.SecurityIdentity identity -
renderArgs
-
validation
-
flash
-
uriInfo
@Inject protected jakarta.ws.rs.core.UriInfo uriInfo
-
-
Constructor Details
-
Controller
public Controller()
-
-
Method Details
-
validationFailed
protected boolean validationFailed() -
prepareForErrorRedirect
protected void prepareForErrorRedirect() -
flash
-
emptyAsNull
-
forbidden
protected jakarta.ws.rs.core.Response forbidden() -
forbidden
-
badRequest
protected jakarta.ws.rs.core.Response badRequest() -
notFoundIfNull
-
notFound
-
notFound
protected jakarta.ws.rs.core.Response notFound() -
beforeRedirect
protected void beforeRedirect()This hook is called before any redirects caused by calls to controller public methods, including redirect(FooController.class).method(). -
seeOther
-
seeOther
-
temporaryRedirect
-
redirect
-