Uses of Interface
com.vaadin.server.VaadinRequest
-
Packages that use VaadinRequest Package Description com.vaadin.server com.vaadin.server.communication com.vaadin.ui -
-
Uses of VaadinRequest in com.vaadin.server
Classes in com.vaadin.server that implement VaadinRequest Modifier and Type Class Description class
VaadinServletRequest
Wrapper forHttpServletRequest
.Methods in com.vaadin.server that return VaadinRequest Modifier and Type Method Description static VaadinRequest
VaadinService. getCurrentRequest()
Gets the currently processed Vaadin request.VaadinRequest
BootstrapHandler.BootstrapContext. getRequest()
VaadinRequest
BootstrapResponse. getRequest()
Gets the request for which the generated bootstrap HTML will be the response.VaadinRequest
SessionInitEvent. getRequest()
Gets the request that triggered the initialization.VaadinRequest
SystemMessagesInfo. getRequest()
Gets the request currently in progress.VaadinRequest
UIProviderEvent. getRequest()
Gets the request associated with this event.Methods in com.vaadin.server with parameters of type VaadinRequest Modifier and Type Method Description protected boolean
BootstrapHandler. canHandleRequest(VaadinRequest request)
Deprecated.protected boolean
SynchronizedRequestHandler. canHandleRequest(VaadinRequest request)
Check whether a request may be handled by this handler.protected VaadinSession
VaadinService. createVaadinSession(VaadinRequest request)
Creates a new Vaadin session for this service and requestvoid
VaadinService. criticalNotification(VaadinRequest request, VaadinResponse response, String caption, String message, String details, String url)
Deprecated.As of 7.0.static Locale
ServletPortletHelper. findLocale(Component component, VaadinSession session, VaadinRequest request)
Deprecated.Helper to find the most most suitable Locale.UI
VaadinService. findUI(VaadinRequest request)
Finds theUI
that belongs to the provided request.VaadinSession
VaadinService. findVaadinSession(VaadinRequest request)
Attempts to find a Vaadin service session associated with this request.protected URL
VaadinService. getApplicationUrl(VaadinRequest request)
Deprecated.As of 7.0.protected URL
VaadinServletService. getApplicationUrl(VaadinRequest request)
abstract String
VaadinService. getConfiguredTheme(VaadinRequest request)
Gets the theme that is configured for this deployment, e.g.String
VaadinServletService. getConfiguredTheme(VaadinRequest request)
abstract String
VaadinService. getConfiguredWidgetset(VaadinRequest request)
Gets the widgetset that is configured for this deployment, e.g.String
VaadinServletService. getConfiguredWidgetset(VaadinRequest request)
protected VaadinSession
VaadinService. getExistingSession(VaadinRequest request, boolean allowSessionCreation)
abstract String
VaadinService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)
Creates and returns a unique ID for the DIV where the UI is to be rendered.String
VaadinServletService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)
abstract String
VaadinService. getStaticFileLocation(VaadinRequest request)
Return the URL from where static files, e.g.String
VaadinServletService. getStaticFileLocation(VaadinRequest request)
SystemMessages
VaadinService. getSystemMessages(Locale locale, VaadinRequest request)
Gets the system message to use for a specific locale.String
ViewportGenerator. getViewport(VaadinRequest request)
Generates a viewport tag based on a request.boolean
AbstractClientConnector. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)
boolean
ClientConnector. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)
Handle a request directed to this connector.boolean
DragAndDropService. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)
boolean
FileDownloader. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)
boolean
ConnectorResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
boolean
GlobalResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
boolean
RequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Called when a request needs to be handled.boolean
SynchronizedRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
void
VaadinService. handleRequest(VaadinRequest request, VaadinResponse response)
Handles the incoming request and writes the response into the response object.boolean
SessionExpiredHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)
Called when the a session expiration has occured and a notification needs to be sent to the user.protected void
VaadinService. handleSessionExpired(VaadinRequest request, VaadinResponse response)
Called when the session has expired and the request handling is therefore aborted.void
Page. init(VaadinRequest request)
static boolean
ServletPortletHelper. isAppRequest(VaadinRequest request)
Deprecated.static boolean
ServletPortletHelper. isFileUploadRequest(VaadinRequest request)
Deprecated.static boolean
ServletPortletHelper. isHeartbeatRequest(VaadinRequest request)
Deprecated.static boolean
ServletPortletHelper. isPublishedFileRequest(VaadinRequest request)
Deprecated.static boolean
ServletPortletHelper. isPushRequest(VaadinRequest request)
Deprecated.abstract boolean
VaadinService. isStandalone(VaadinRequest request)
Checks whether the UI will be rendered on its own in the browser or whether it will be included into some other context.boolean
VaadinServletService. isStandalone(VaadinRequest request)
static boolean
ServletPortletHelper. isUIDLRequest(VaadinRequest request)
Deprecated.static void
VaadinService. reinitializeSession(VaadinRequest request)
Discards the current session and creates a new session with the same contents.protected abstract boolean
VaadinService. requestCanCreateSession(VaadinRequest request)
Checks whether it's valid to create a new service session as a result of the given request.protected boolean
VaadinServletService. requestCanCreateSession(VaadinRequest request)
void
VaadinService. requestEnd(VaadinRequest request, VaadinResponse response, VaadinSession session)
Called after the framework has handled a request and the response has been written.void
VaadinService. requestStart(VaadinRequest request, VaadinResponse response)
Called before the framework starts handling a requestvoid
VaadinService. setCurrentInstances(VaadinRequest request, VaadinResponse response)
Sets the this Vaadin service as the current service and also sets the current Vaadin request and Vaadin response.void
SystemMessagesInfo. setRequest(VaadinRequest request)
boolean
BootstrapHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Deprecated.abstract boolean
SynchronizedRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Identical toSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)
except theVaadinSession
is locked before this is called and unlocked after this has completed.boolean
UnsupportedBrowserHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
void
WebBrowser. updateRequestDetails(VaadinRequest request)
For internal use by VaadinServlet/VaadinPortlet only.protected void
UnsupportedBrowserHandler. writeBrowserTooOldPage(VaadinRequest request, VaadinResponse response)
Writes a page encouraging the user to upgrade to a more current browser.void
DownloadStream. writeResponse(VaadinRequest request, VaadinResponse response)
Writes this download stream to a Vaadin response.Constructors in com.vaadin.server with parameters of type VaadinRequest Constructor Description BootstrapFragmentResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, List<org.jsoup.nodes.Node> fragmentNodes, UIProvider uiProvider)
Crate a new bootstrap fragment response.BootstrapPageResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, org.jsoup.nodes.Document document, Map<String,Object> headers, UIProvider uiProvider)
Crate a new bootstrap page response.BootstrapResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, UIProvider uiProvider)
Creates a new bootstrap event.SessionInitEvent(VaadinService service, VaadinSession session, VaadinRequest request)
Creates a new event.UIClassSelectionEvent(VaadinRequest request)
Creates a new event for a specific request.UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass)
Creates a new UI create event for a given VaadinRequest and UI class but without a UI id.UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass, Integer uiId)
Creates a new UI create event for a given VaadinRequest, UI class and UI idUIProviderEvent(VaadinRequest request)
Creates a new UI provider event. -
Uses of VaadinRequest in com.vaadin.server.communication
Methods in com.vaadin.server.communication with parameters of type VaadinRequest Modifier and Type Method Description protected boolean
HeartbeatHandler. canHandleRequest(VaadinRequest request)
protected boolean
UidlRequestHandler. canHandleRequest(VaadinRequest request)
protected boolean
UIInitHandler. canHandleRequest(VaadinRequest request)
protected void
FileUploadHandler. doHandleSimpleMultipartFileUpload(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamVariable streamVariable, String variableName, ClientConnector owner, String boundary)
Method used to stream content from a multipart request (either from servlet or portlet request) to given StreamVariable.protected void
FileUploadHandler. doHandleXhrFilePost(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamVariable streamVariable, String variableName, ClientConnector owner, long contentLength)
Used to stream plain file post (aka XHR2.post(File))protected String
UIInitHandler. getEmbedId(VaadinRequest request)
Constructs an embed id based on information in the request.protected String
UIInitHandler. getInitialUidl(VaadinRequest request, UI uI)
Generates the initial UIDL message that can e.g.boolean
FileUploadHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
boolean
PublishedFileHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Writes the connector resource identified by the request URI to the response.boolean
PushRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
boolean
SessionRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
void
ServerRpcHandler. handleRpc(UI ui, Reader reader, VaadinRequest request)
Reads JSON containing zero or more serialized RPC calls (including legacy variable changes) and executes the calls.boolean
HeartbeatHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)
boolean
PushRequestHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)
boolean
UidlRequestHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)
protected boolean
ServletUIInitHandler. isInitRequest(VaadinRequest request)
protected abstract boolean
UIInitHandler. isInitRequest(VaadinRequest request)
static boolean
ServletUIInitHandler. isUIInitRequest(VaadinRequest request)
protected void
FileUploadHandler. sendUploadResponse(VaadinRequest request, VaadinResponse response)
TODO documentboolean
HeartbeatHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Handles a heartbeat request for the given session.boolean
UidlRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
boolean
UIInitHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)
Constructors in com.vaadin.server.communication with parameters of type VaadinRequest Constructor Description RpcRequest(String jsonString, VaadinRequest request)
-
Uses of VaadinRequest in com.vaadin.ui
Methods in com.vaadin.ui with parameters of type VaadinRequest Modifier and Type Method Description void
UI. doInit(VaadinRequest request, int uiId, String embedId)
Internal initialization method, should not be overridden.void
UI. doRefresh(VaadinRequest request)
Internal reinitialization method, should not be overridden.boolean
AbstractMedia. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)
protected void
LegacyWindow. init(VaadinRequest request)
Deprecated.protected abstract void
UI. init(VaadinRequest request)
Initializes this UI.protected void
UI. refresh(VaadinRequest request)
Reinitializes this UI after a browser refresh if the UI is set to be preserved on refresh, typically using thePreserveOnRefresh
annotation.
-