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 classVaadinServletRequestWrapper forHttpServletRequest.Methods in com.vaadin.server that return VaadinRequest Modifier and Type Method Description static VaadinRequestVaadinRequest. getCurrent()Gets the currently processed Vaadin request.static VaadinRequestVaadinService. getCurrentRequest()Gets the currently processed Vaadin request.VaadinRequestBootstrapHandler.BootstrapContext. getRequest()Gets the Vaadin/HTTP request.VaadinRequestBootstrapResponse. getRequest()Gets the request for which the generated bootstrap HTML will be the response.VaadinRequestSessionInitEvent. getRequest()Gets the request that triggered the initialization.VaadinRequestSystemMessagesInfo. getRequest()Gets the request currently in progress.VaadinRequestUIProviderEvent. getRequest()Gets the request associated with this event.Methods in com.vaadin.server with parameters of type VaadinRequest Modifier and Type Method Description protected booleanBootstrapHandler. canHandleRequest(VaadinRequest request)Deprecated.protected booleanSynchronizedRequestHandler. canHandleRequest(VaadinRequest request)Check whether a request may be handled by this handler.protected VaadinSessionVaadinService. createVaadinSession(VaadinRequest request)Creates a new Vaadin session for this service and request.voidVaadinService. criticalNotification(VaadinRequest request, VaadinResponse response, String caption, String message, String details, String url)Deprecated.As of 7.0.static LocaleServletPortletHelper. findLocale(Component component, VaadinSession session, VaadinRequest request)Deprecated.Helper to find the most most suitable Locale.UIVaadinService. findUI(VaadinRequest request)Finds theUIthat belongs to the provided request.VaadinSessionVaadinService. findVaadinSession(VaadinRequest request)Attempts to find a Vaadin service session associated with this request.protected URLVaadinService. getApplicationUrl(VaadinRequest request)Deprecated.As of 7.0.protected URLVaadinServletService. getApplicationUrl(VaadinRequest request)abstract StringVaadinService. getConfiguredTheme(VaadinRequest request)Gets the theme that is configured for this deployment, e.g. from a portal parameter or just some sensible default value.StringVaadinServletService. getConfiguredTheme(VaadinRequest request)abstract StringVaadinService. getConfiguredWidgetset(VaadinRequest request)Gets the widgetset that is configured for this deployment, e.g. from a parameter in web.xml.StringVaadinServletService. getConfiguredWidgetset(VaadinRequest request)static StringVaadinServletService. getContextRootRelativePath(VaadinRequest request)Gets a relative path you can use to refer to the context root.protected VaadinSessionVaadinService. getExistingSession(VaadinRequest request, boolean allowSessionCreation)abstract StringVaadinService. 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.StringVaadinServletService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)abstract StringVaadinService. getStaticFileLocation(VaadinRequest request)Return the URL from where static files, e.g. the widgetset and the theme, are served.StringVaadinServletService. getStaticFileLocation(VaadinRequest request)SystemMessagesVaadinService. getSystemMessages(Locale locale, VaadinRequest request)Gets the system message to use for a specific locale.StringViewportGenerator. getViewport(VaadinRequest request)Generates a viewport tag based on a request.booleanAbstractClientConnector. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)booleanClientConnector. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)Handle a request directed to this connector.booleanDragAndDropService. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)Deprecated.booleanFileDownloader. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)Handle a request directed to this connector.booleanConnectorResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanGlobalResourceHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Called when a request needs to be handled.booleanSynchronizedRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)voidVaadinService. handleRequest(VaadinRequest request, VaadinResponse response)Handles the incoming request and writes the response into the response object.booleanSessionExpiredHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)Called when the a session expiration has occurred and a notification needs to be sent to the user.protected voidVaadinService. handleSessionExpired(VaadinRequest request, VaadinResponse response)Called when the session has expired and the request handling is therefore aborted.voidPage. init(VaadinRequest request)static booleanServletPortletHelper. isAppRequest(VaadinRequest request)Deprecated.static booleanServletPortletHelper. isFileUploadRequest(VaadinRequest request)Deprecated.static booleanServletPortletHelper. isHeartbeatRequest(VaadinRequest request)Deprecated.static booleanServletPortletHelper. isPublishedFileRequest(VaadinRequest request)Deprecated.static booleanServletPortletHelper. isPushRequest(VaadinRequest request)Deprecated.abstract booleanVaadinService. 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.booleanVaadinServletService. isStandalone(VaadinRequest request)static booleanServletPortletHelper. isUIDLRequest(VaadinRequest request)Deprecated.static voidVaadinService. reinitializeSession(VaadinRequest request)Discards the current session and creates a new session with the same contents.protected abstract booleanVaadinService. requestCanCreateSession(VaadinRequest request)Checks whether it's valid to create a new service session as a result of the given request.protected booleanVaadinServletService. requestCanCreateSession(VaadinRequest request)voidVaadinService. requestEnd(VaadinRequest request, VaadinResponse response, VaadinSession session)Called after the framework has handled a request and the response has been written.voidVaadinService. requestStart(VaadinRequest request, VaadinResponse response)Called before the framework starts handling a request.voidVaadinService. setCurrentInstances(VaadinRequest request, VaadinResponse response)Sets the this Vaadin service as the current service and also sets the current Vaadin request and Vaadin response.voidSystemMessagesInfo. setRequest(VaadinRequest request)booleanBootstrapHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Deprecated.abstract booleanSynchronizedRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Identical toSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)except theVaadinSessionis locked before this is called and unlocked after this has completed.Optional<SynchronizedRequestHandler.ResponseWriter>SynchronizedRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response, String requestBody)Identical toSynchronizedRequestHandler.synchronizedHandleRequest(VaadinSession, VaadinRequest, VaadinResponse)except theVaadinSessionis locked before this is called and the response requestBody has been read before locking the session and is provided as a separate parameter.booleanUnsupportedBrowserHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)voidWebBrowser. updateRequestDetails(VaadinRequest request)For internal use by VaadinServlet/VaadinPortlet only.protected voidUnsupportedBrowserHandler. writeBrowserTooOldPage(VaadinRequest request, VaadinResponse response)Writes a page encouraging the user to upgrade to a more current browser.voidDownloadStream. 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 id.UIProviderEvent(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 booleanHeartbeatHandler. canHandleRequest(VaadinRequest request)protected booleanUidlRequestHandler. canHandleRequest(VaadinRequest request)protected booleanUIInitHandler. canHandleRequest(VaadinRequest request)protected voidFileUploadHandler. 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 voidFileUploadHandler. 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 StringUIInitHandler. getEmbedId(VaadinRequest request)Constructs an embed id based on information in the request.protected StringUIInitHandler. getInitialUidl(VaadinRequest request, UI uI)Generates the initial UIDL message that can e.g. be included in a html page to avoid a separate round trip just for getting the UIDL.booleanFileUploadHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanPublishedFileHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Writes the connector resource identified by the request URI to the response.booleanPushRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)booleanSessionRequestHandler. handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)voidServerRpcHandler. handleRpc(UI ui, Reader reader, VaadinRequest request)Reads JSON containing zero or more serialized RPC calls (including legacy variable changes) and executes the calls.voidServerRpcHandler. handleRpc(UI ui, String message, VaadinRequest request)Reads JSON containing zero or more serialized RPC calls (including legacy variable changes) and executes the calls.booleanHeartbeatHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)booleanPushRequestHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)booleanUidlRequestHandler. handleSessionExpired(VaadinRequest request, VaadinResponse response)protected booleanServletUIInitHandler. isInitRequest(VaadinRequest request)protected abstract booleanUIInitHandler. isInitRequest(VaadinRequest request)static booleanServletUIInitHandler. isUIInitRequest(VaadinRequest request)protected voidFileUploadHandler. sendUploadResponse(VaadinRequest request, VaadinResponse response)Sends the upload response.booleanHeartbeatHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Handles a heartbeat request for the given session.booleanUidlRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response)Optional<SynchronizedRequestHandler.ResponseWriter>UidlRequestHandler. synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response, String requestBody)booleanUIInitHandler. 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 voidUI. doInit(VaadinRequest request, int uiId, String embedId)Internal initialization method, should not be overridden.voidUI. doRefresh(VaadinRequest request)Internal reinitialization method, should not be overridden.booleanAbstractMedia. handleConnectorRequest(VaadinRequest request, VaadinResponse response, String path)protected voidLegacyWindow. init(VaadinRequest request)Deprecated.protected abstract voidUI. init(VaadinRequest request)Initializes this UI.protected voidUI. refresh(VaadinRequest request)Reinitializes this UI after a browser refresh if the UI is set to be preserved on refresh, typically using thePreserveOnRefreshannotation.
-