Package | Description |
---|---|
org.apache.wicket.examples.ajax.builtin | |
org.apache.wicket.extensions.ajax | |
org.apache.wicket.extensions.markup.html.captcha | |
org.apache.wicket.extensions.markup.html.image.resource |
Image resource extensions.
|
org.apache.wicket.markup.html.image.resource |
Resource support for image components.
|
org.apache.wicket.protocol.ws.api | |
org.apache.wicket.request.resource | |
org.apache.wicket.resource |
Locale aware resouce loaders.
|
org.apache.wicket.resource.bundles |
Modifier and Type | Method and Description |
---|---|
protected IResourceStream |
AjaxDownloadPage.StaticResource.getResourceStream(IResource.Attributes attributes) |
void |
AjaxDownloadPage.StaticResource.respond(IResource.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
static void |
AjaxDownloadBehavior.markCompleted(IResource.Attributes attributes)
Mark a resource as complete.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
CaptchaImageResource.getImageData(IResource.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
ThumbnailImageResource.getImageData(IResource.Attributes attributes) |
protected BufferedImage |
ThumbnailImageResource.getScaledImageInstance(IResource.Attributes attributes)
get resized image instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Blob |
BlobImageResource.getBlob(IResource.Attributes attributes)
Gets the BLOB (Binary Large OBject) that holds the raw image data.
|
protected byte[] |
RenderedDynamicImageResource.getImageData(IResource.Attributes attributes) |
protected byte[] |
BlobImageResource.getImageData(IResource.Attributes attributes) |
protected byte[] |
BufferedDynamicImageResource.getImageData(IResource.Attributes attributes) |
protected abstract boolean |
RenderedDynamicImageResource.render(Graphics2D graphics,
IResource.Attributes attributes)
Override this method to provide your rendering code.
|
protected boolean |
DefaultButtonImageResource.render(Graphics2D graphics,
IResource.Attributes attributes)
Renders button image.
|
protected byte[] |
RenderedDynamicImageResource.render(IResource.Attributes attributes)
Renders this image
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketResource.respond(IResource.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
PackageResource.compressResponse(IResource.Attributes attributes,
byte[] original)
Compresses the response if its is eligible and there is a configured compressor
|
protected void |
AbstractResource.configureCache(AbstractResource.ResourceResponse data,
IResource.Attributes attributes)
Configure the web response header for client cache control.
|
protected void |
DynamicImageResource.configureResponse(AbstractResource.ResourceResponse response,
IResource.Attributes attributes) |
protected void |
BaseDataResource.configureResponse(AbstractResource.ResourceResponse response,
IResource.Attributes attributes)
Post-configures the given response, e.g.
|
boolean |
AbstractResource.ResourceResponse.dataNeedsToBeWritten(IResource.Attributes attributes)
Check to determine if the resource data needs to be written.
|
protected T |
BaseDataResource.getData(IResource.Attributes attributes)
Gets the data for this resource.
|
protected abstract byte[] |
DynamicImageResource.getImageData(IResource.Attributes attributes)
Get image data for our dynamic image resource.
|
protected IResourceStream |
ResourceStreamResource.getResourceStream(IResource.Attributes attributes)
Lazy or dynamic initialization of the wrapped IResourceStream(Writer)
|
protected AbstractResource.ResourceResponse |
DynamicImageResource.newResourceResponse(IResource.Attributes attributes) |
protected AbstractResource.ResourceResponse |
ContextRelativeResource.newResourceResponse(IResource.Attributes attributes) |
protected AbstractResource.ResourceResponse |
ResourceStreamResource.newResourceResponse(IResource.Attributes attributes) |
protected abstract AbstractResource.ResourceResponse |
AbstractResource.newResourceResponse(IResource.Attributes attributes)
Override this method to return a
AbstractResource.ResourceResponse for the request. |
protected AbstractResource.ResourceResponse |
PackageResource.newResourceResponse(IResource.Attributes attributes)
creates a new resource response based on the request attributes
|
protected AbstractResource.ResourceResponse |
BaseDataResource.newResourceResponse(IResource.Attributes attributes) |
protected byte[] |
PackageResource.processResponse(IResource.Attributes attributes,
byte[] original)
Gives a chance to modify the resource going to be written in the response
|
void |
IResource.respond(IResource.Attributes attributes)
Renders this resource to response using the provided attributes.
|
void |
AbstractResource.respond(IResource.Attributes attributes) |
protected void |
AbstractResource.setRequestMetaData(IResource.Attributes attributes)
Reads the plain request header information and applies enriched information as meta data to
the current request.
|
protected boolean |
AbstractResource.setResponseContentRangeHeaderFields(WebResponse webResponse,
IResource.Attributes attributes,
long contentLength)
Sets the content range header fields to the given web response
|
protected void |
AbstractResource.setResponseHeaders(AbstractResource.ResourceResponse resourceResponse,
IResource.Attributes attributes)
Sets the response header of resource response to the response received from the attributes
|
void |
PartWriterCallback.writeData(IResource.Attributes attributes)
Writes the data
|
abstract void |
AbstractResource.WriteCallback.writeData(IResource.Attributes attributes)
Write the resource data to response.
|
protected void |
AbstractResource.WriteCallback.writeStream(IResource.Attributes attributes,
InputStream stream)
Convenience method to write an
InputStream to response. |
Modifier and Type | Method and Description |
---|---|
protected AbstractResource.ResourceResponse |
FileSystemResource.createResourceResponse(IResource.Attributes attributes,
Path path)
Creates a resource response based on the given attributes
|
protected AbstractResource.ResourceResponse |
FileSystemResource.newResourceResponse(IResource.Attributes attributes)
Creates a new resource response and reads the given path
|
void |
FileSystemResource.respond(IResource.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
protected AbstractResource.ResourceResponse |
ConcatBundleResource.newResourceResponse(IResource.Attributes attributes) |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.