All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sirius.web.controller.DefaultRoute Maven / Gradle / Ivy

There is a newer version: 22.2.3
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.web.controller;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Used by {@link BasicController} and its subclasses to identify a fallback route.
 * 

* If a route (a method within the controller which wears a {@link Routed} annotation) throws an error, the * defautlt route is used to display the error and stell render a usable result. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface DefaultRoute { }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy