|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.resource.AbstractResource.WriteCallback
public abstract static class AbstractResource.WriteCallback
Callback invoked when resource data needs to be written to response. Subclass needs to
implement the writeData(org.apache.wicket.request.resource.IResource.Attributes)
method.
Constructor Summary | |
---|---|
AbstractResource.WriteCallback()
|
Method Summary | |
---|---|
abstract void |
writeData(IResource.Attributes attributes)
Write the resource data to response. |
protected void |
writeStream(IResource.Attributes attributes,
java.io.InputStream stream)
Convenience method to write an InputStream to response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractResource.WriteCallback()
Method Detail |
---|
public abstract void writeData(IResource.Attributes attributes)
attributes
- request attributesprotected final void writeStream(IResource.Attributes attributes, java.io.InputStream stream)
InputStream
to response.
attributes
- request attributesstream
- input stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |