We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.communication.
Class StreamResourceHandler
java.lang.Object
com.vaadin.flow.server.communication.StreamResourceHandler
All Implemented Interfaces:
Handles StreamResource
instances registered in VaadinSession
.
For internal use only. May be renamed or removed in a future release.
Since:
1.0
Author:
Vaadin Ltd
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamResource streamResource) Handle sending for a stream resource request.
-
Constructor Details
-
StreamResourceHandler
public StreamResourceHandler()
-
-
Method Details
-
handleRequest
public void handleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response, StreamResource streamResource) throws IOException Handle sending for a stream resource request.
Parameters:
session
- session for the requestrequest
- request to handleresponse
- response object to which a response can be written.streamResource
- stream resource that handles data writerThrows:
IOException
- if an IO error occurred
-