public class VaadinDefaultRedirectStrategy extends Object implements VaadinRedirectStrategy
DefaultRedirectStrategy| Constructor and Description |
|---|
VaadinDefaultRedirectStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendRedirect(String url)
Performs a redirect to the supplied URL
|
void |
setContextRelative(boolean useRelativeContext)
If true, causes any redirection URLs to be calculated minus the protocol
and context path (defaults to false).
|
public void sendRedirect(String url)
VaadinRedirectStrategysendRedirect in interface VaadinRedirectStrategyurl - the target URL to redirect to, for example "/login"public void setContextRelative(boolean useRelativeContext)
Copyright © 2015. All rights reserved.