|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.request.handler.resource.ResourceStreamRequestHandler
org.apache.wicket.request.handler.resource.WebExternalResourceRequestHandler
public class WebExternalResourceRequestHandler
Request target that is not a Wicket resource. For example, such a resource could denote an image
in the web application directory (not mapped to a Wicket servlet). NOTE: this target can only be
used in a servlet environment with org.apache.wicket.protocol.http.RequestCycles.
NOTE: this class is a wrapper around
ResourceStreamRequestHandler.ResourceStreamRequestHandler(org.apache.wicket.util.resource.IResourceStream)
, and kept for compatibility purposes.
| Constructor Summary | |
|---|---|
WebExternalResourceRequestHandler(String uri)
Construct. |
|
| Method Summary | |
|---|---|
void |
detach(IRequestCycle requestCycle)
This method is called at the end of a request cycle to indicate that processing is done and that cleaning up of the subject(s) of this target may be done. |
boolean |
equals(Object obj)
|
String |
getUrl()
Gets the url to the external resource. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class org.apache.wicket.request.handler.resource.ResourceStreamRequestHandler |
|---|
configure, getCacheDuration, getContentDisposition, getFileName, getLogData, getResourceStream, respond, setCacheDuration, setContentDisposition, setFileName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebExternalResourceRequestHandler(String uri)
uri - the relative url of the external resource| Method Detail |
|---|
public final String getUrl()
public void detach(IRequestCycle requestCycle)
IRequestHandler
detach in interface IRequestHandlerdetach in class ResourceStreamRequestHandlerrequestCycle - the current request cycleIRequestHandler.detach(org.apache.wicket.request.IRequestCycle)public boolean equals(Object obj)
equals in class ResourceStreamRequestHandlerObject.equals(java.lang.Object)public int hashCode()
hashCode in class ResourceStreamRequestHandlerObject.hashCode()public String toString()
toString in class ResourceStreamRequestHandlerObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||