@Deprecated public class ServletPortletHelper extends Object implements Serializable
VaadinServlet
and
VaadinPortlet
.Modifier and Type | Field and Description |
---|---|
static String |
UPLOAD_URL_PREFIX
Deprecated.
|
Constructor and Description |
---|
ServletPortletHelper()
Deprecated.
|
Modifier and Type | Method and 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.
|
public static final String UPLOAD_URL_PREFIX
public static boolean isFileUploadRequest(VaadinRequest request)
public static boolean isPublishedFileRequest(VaadinRequest request)
public static boolean isUIDLRequest(VaadinRequest request)
public static boolean isAppRequest(VaadinRequest request)
public static boolean isHeartbeatRequest(VaadinRequest request)
public static boolean isPushRequest(VaadinRequest request)
public static void initDefaultUIProvider(VaadinSession session, VaadinService vaadinService) throws ServiceException
ServiceException
public static void checkUiProviders(VaadinSession session, VaadinService vaadinService) throws ServiceException
ServiceException
public static Locale findLocale(Component component, VaadinSession session, VaadinRequest request)
UI.getCurrent()
if definedVaadinSession.getCurrent()
if definedVaadinService.getCurrentRequest()
if definedLocale.getDefault()
Copyright © 2019 Vaadin Ltd. All rights reserved.