public static class AjaxDownloadPage.StaticResource extends ResourceStreamResource
AbstractResource.ContentRangeType, AbstractResource.ResourceResponse, AbstractResource.WriteCallback
IResource.Attributes
CONTENT_DISPOSITION_HEADER_NAME, CONTENT_RANGE_ENDBYTE, CONTENT_RANGE_STARTBYTE, INTERNAL_HEADERS
Modifier and Type | Method and Description |
---|---|
protected IResourceStream |
getResourceStream(IResource.Attributes attributes)
Lazy or dynamic initialization of the wrapped IResourceStream(Writer)
|
void |
respond(IResource.Attributes attributes)
Renders this resource to response using the provided attributes.
|
getCacheDuration, newResourceResponse, setCacheDuration, setContentDisposition, setFileName, setTextEncoding
configureCache, getCachingStrategy, setRequestMetaData, setRequestRangeMetaData, setResponseContentRangeHeaderFields, setResponseHeaders
public void respond(IResource.Attributes attributes)
IResource
respond
in interface IResource
respond
in class AbstractResource
IResource.respond(org.apache.wicket.request.resource.IResource.Attributes)
protected IResourceStream getResourceStream(IResource.Attributes attributes)
ResourceStreamResource
getResourceStream
in class ResourceStreamResource
attributes
- The request attributesnull
.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.