public abstract static class AbstractResource.WriteCallback extends Object
writeData(org.apache.wicket.request.resource.IResource.Attributes)
method.Constructor and Description |
---|
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 attributesIOException
protected final void writeStream(IResource.Attributes attributes, InputStream stream) throws IOException
InputStream
to response.attributes
- request attributesstream
- input streamIOException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.