We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.communication.
Class TranslatedURLReference
- java.lang.Object
-
- com.vaadin.shared.communication.URLReference
-
- com.vaadin.client.communication.TranslatedURLReference
-
All Implemented Interfaces:
public class TranslatedURLReference extends URLReference
A URLReference implementation which does late URL translation to be able to re-translate URLs if e.g. the theme changes
Since:
7.3
Author:
Vaadin Ltd
See Also:
-
-
Constructor Summary
Constructors Constructor Description TranslatedURLReference()
-
Method Summary
All Methods Modifier and Type Method Description String
getURL()
Returns the URL that this object refers to.
void
setConnection​(ApplicationConnection connection)
Sets the application connection this instance is connected to.
-
Methods inherited from class com.vaadin.shared.communication.URLReference
setURL
-
-
-
-
Method Detail
-
setConnection
public void setConnection​(ApplicationConnection connection)
Sets the application connection this instance is connected to. Called internally by the framework.
Parameters:
connection
- the application connection this instance is connected to
-
getURL
public String getURL()
Description copied from class:
URLReference
Returns the URL that this object refers to.
Note that the URL can use special protocols like theme://
Overrides:
getURL
in classURLReference
Returns:
The URL for this reference or null if unknown.
-
-