Package | Description |
---|---|
com.vaadin.flow.server | |
com.vaadin.flow.server.communication |
Modifier and Type | Method and Description |
---|---|
StreamResource |
StreamResource.setContentType(String contentType)
Set content type for the resource.
|
StreamResource |
StreamResource.setContentTypeResolver(ContentTypeResolver resolver)
Sets the resolver which is used to lookup the content type of the
resource.
|
StreamResource |
StreamResource.setHeader(String name,
String value)
Sets the value of a generic response header.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamResourceHandler.handleRequest(VaadinSession session,
VaadinRequest request,
VaadinResponse response,
StreamResource streamResource)
Handle sending for a stream resource request.
|
Copyright © 2025. All rights reserved.