public abstract static class AbstractResource.WriteCallback extends Object
writeData(org.apache.wicket.request.resource.IResource.Attributes)
method.| Constructor and Description |
|---|
AbstractResource.WriteCallback() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
writeData(IResource.Attributes attributes)
Write the resource data to response.
|
protected void |
writeStream(IResource.Attributes attributes,
InputStream stream)
Convenience method to write an
InputStream to response. |
public abstract void writeData(IResource.Attributes attributes) throws IOException
attributes - request attributesIOExceptionprotected final void writeStream(IResource.Attributes attributes, InputStream stream) throws IOException
InputStream to response.attributes - request attributesstream - input streamIOExceptionCopyright © 2006–2014 Apache Software Foundation. All rights reserved.