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.server.
Class ServletPortletHelper
- java.lang.Object
-
- com.vaadin.server.ServletPortletHelper
-
All Implemented Interfaces:
@Deprecated public class ServletPortletHelper extends Object implements Serializable
Deprecated.As of 7.1. Will be removed or refactored in the future.Contains helper methods shared by
VaadinServlet
andVaadinPortlet
.See Also:
-
-
Field Summary
Fields Modifier and Type Field Description static String
UPLOAD_URL_PREFIX
Deprecated.
-
Method Summary
All Methods Modifier and Type Method Description static void
checkUiProviders(VaadinSession session, VaadinService vaadinService)
Deprecated.
static Locale
findLocale(Component component, VaadinSession session, VaadinRequest request)
Deprecated.
Helper to find the most most suitable Locale.
static Class<? extends LegacyApplication>
getLegacyApplicationClass(VaadinService vaadinService)
Deprecated.
static void
initDefaultUIProvider(VaadinSession session, VaadinService vaadinService)
Deprecated.
static boolean
isAppRequest(VaadinRequest request)
Deprecated.
static boolean
isFileUploadRequest(VaadinRequest request)
Deprecated.
static boolean
isHeartbeatRequest(VaadinRequest request)
Deprecated.
static boolean
isPublishedFileRequest(VaadinRequest request)
Deprecated.
static boolean
isPushRequest(VaadinRequest request)
Deprecated.
static boolean
isUIDLRequest(VaadinRequest request)
Deprecated.
-
-
-
Field Detail
-
UPLOAD_URL_PREFIX
public static final String UPLOAD_URL_PREFIX
Deprecated.See Also:
-
-
Method Detail
-
getLegacyApplicationClass
public static Class<? extends LegacyApplication> getLegacyApplicationClass(VaadinService vaadinService) throws ServiceException
Deprecated.Throws:
-
isFileUploadRequest
public static boolean isFileUploadRequest(VaadinRequest request)
Deprecated.
-
isPublishedFileRequest
public static boolean isPublishedFileRequest(VaadinRequest request)
Deprecated.
-
isUIDLRequest
public static boolean isUIDLRequest(VaadinRequest request)
Deprecated.
-
isAppRequest
public static boolean isAppRequest(VaadinRequest request)
Deprecated.
-
isHeartbeatRequest
public static boolean isHeartbeatRequest(VaadinRequest request)
Deprecated.
-
isPushRequest
public static boolean isPushRequest(VaadinRequest request)
Deprecated.
-
initDefaultUIProvider
public static void initDefaultUIProvider(VaadinSession session, VaadinService vaadinService) throws ServiceException
Deprecated.Throws:
-
checkUiProviders
public static void checkUiProviders(VaadinSession session, VaadinService vaadinService) throws ServiceException
Deprecated.Throws:
-
findLocale
public static Locale findLocale(Component component, VaadinSession session, VaadinRequest request)
Deprecated.Helper to find the most most suitable Locale. These potential sources are checked in order until a Locale is found:
- The passed component (or UI) if not null
UI.getCurrent()
if defined- The passed session if not null
VaadinSession.getCurrent()
if defined- The passed request if not null
VaadinService.getCurrentRequest()
if definedLocale.getDefault()
-
-