Annotation Type ForwardTo


@Inherited @Documented @Target(TYPE) @Retention(RUNTIME) public @interface ForwardTo

Adds a Forward operation to the current rule. This operation will perform a Servlet forward to the specified path.

 @PathPattern("/login")
 @Forward("/login-page.html")
 public class MyClass {
 
 }
 
Author:
Christian Kaltepoth
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The path to forward the request to.
  • Element Details

    • value

      String value
      The path to forward the request to. The path is relative to the context path.