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 byVaadinServletandVaadinPortlet.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringUPLOAD_URL_PREFIXDeprecated.
-
Constructor Summary
Constructors Constructor Description ServletPortletHelper()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidcheckUiProviders(VaadinSession session, VaadinService vaadinService)Deprecated.static LocalefindLocale(Component component, VaadinSession session, VaadinRequest request)Deprecated.Helper to find the most most suitable Locale.static voidinitDefaultUIProvider(VaadinSession session, VaadinService vaadinService)Deprecated.static booleanisAppRequest(VaadinRequest request)Deprecated.static booleanisFileUploadRequest(VaadinRequest request)Deprecated.static booleanisHeartbeatRequest(VaadinRequest request)Deprecated.static booleanisPublishedFileRequest(VaadinRequest request)Deprecated.static booleanisPushRequest(VaadinRequest request)Deprecated.static booleanisUIDLRequest(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()
-
-