@RenderWith(value=ServletPermanentRedirectActionResult.class) public class PermRedirect extends PathResult
Redirect
Constructor and Description |
---|
PermRedirect(java.lang.Class<T> target,
java.util.function.Consumer<T> consumer) |
PermRedirect(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
static <T> PermRedirect |
to(java.lang.Class<T> target,
java.util.function.Consumer<T> consumer) |
static PermRedirect |
to(java.lang.String target) |
path
public PermRedirect(java.lang.Class<T> target, java.util.function.Consumer<T> consumer)
public PermRedirect(java.lang.String path)
public static PermRedirect to(java.lang.String target)
public static <T> PermRedirect to(java.lang.Class<T> target, java.util.function.Consumer<T> consumer)
Copyright © 2003-present Jodd Team