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 |
BaseDataResource.configureResponse(AbstractResource.ResourceResponse response,
IResource.Attributes attributes) |
Post-configures the given response, e.g.
|
protected void |
DynamicImageResource.configureResponse(AbstractResource.ResourceResponse response,
IResource.Attributes attributes) |
|
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 org.apache.wicket.util.resource.IResourceStream |
ResourceStreamResource.getResourceStream(IResource.Attributes attributes) |
Lazy or dynamic initialization of the wrapped IResourceStream(Writer)
|
protected abstract AbstractResource.ResourceResponse |
AbstractResource.newResourceResponse(IResource.Attributes attributes) |
|
protected AbstractResource.ResourceResponse |
BaseDataResource.newResourceResponse(IResource.Attributes attributes) |
|
protected AbstractResource.ResourceResponse |
ContextRelativeResource.newResourceResponse(IResource.Attributes attributes) |
|
protected AbstractResource.ResourceResponse |
DynamicImageResource.newResourceResponse(IResource.Attributes attributes) |
|
protected AbstractResource.ResourceResponse |
PackageResource.newResourceResponse(IResource.Attributes attributes) |
creates a new resource response based on the request attributes
|
protected AbstractResource.ResourceResponse |
ResourceStreamResource.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 |
AbstractResource.respond(IResource.Attributes attributes) |
|
void |
IResource.respond(IResource.Attributes attributes) |
Renders this resource to response using the provided 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(org.apache.wicket.request.http.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
|
abstract void |
AbstractResource.WriteCallback.writeData(IResource.Attributes attributes) |
Write the resource data to response.
|
void |
PartWriterCallback.writeData(IResource.Attributes attributes) |
Writes the data
|
protected void |
AbstractResource.WriteCallback.writeStream(IResource.Attributes attributes,
java.io.InputStream stream) |
Convenience method to write an InputStream to response.
|