Package com.vaadin.server
Class ServletPortletHelper
- java.lang.Object
-
- com.vaadin.server.ServletPortletHelper
-
- All Implemented Interfaces:
Serializable
@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 byVaadinServlet
andVaadinPortlet
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
UPLOAD_URL_PREFIX
Deprecated.
-
Constructor Summary
Constructors Constructor Description ServletPortletHelper()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated 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 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:
- Constant Field Values
-
-
Method Detail
-
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:
ServiceException
-
checkUiProviders
public static void checkUiProviders(VaadinSession session, VaadinService vaadinService) throws ServiceException
Deprecated.- Throws:
ServiceException
-
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()
-
-