public class DefaultVaadinRedirectStrategy extends Object implements VaadinRedirectStrategy
VaadinRedirectStrategy. Based on
DefaultRedirectStrategy.| Constructor and Description |
|---|
DefaultVaadinRedirectStrategy() |
| 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 © 2017. All rights reserved.