|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.request.target.resource.ResourceStreamRequestTarget org.apache.wicket.protocol.http.request.WebExternalResourceRequestTarget
public class WebExternalResourceRequestTarget
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 WebRequestCycle
s.
NOTE: this class is a wrapper around
ResourceStreamRequestTarget.ResourceStreamRequestTarget(org.apache.wicket.util.resource.IResourceStream)
,
and kept for compatibility purposes.
Constructor Summary | |
---|---|
WebExternalResourceRequestTarget(java.lang.String uri)
Construct. |
Method Summary | |
---|---|
void |
detach(RequestCycle 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(java.lang.Object obj)
|
java.lang.String |
getUrl()
Gets the url to the external resource. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class org.apache.wicket.request.target.resource.ResourceStreamRequestTarget |
---|
configure, getFileName, getResourceStream, respond, setFileName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WebExternalResourceRequestTarget(java.lang.String uri)
uri
- the relative url of the external resourceMethod Detail |
---|
public final java.lang.String getUrl()
public void detach(RequestCycle requestCycle)
IRequestTarget
detach
in interface IRequestTarget
detach
in class ResourceStreamRequestTarget
requestCycle
- the current request cycleIRequestTarget.detach(org.apache.wicket.RequestCycle)
public boolean equals(java.lang.Object obj)
equals
in class ResourceStreamRequestTarget
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class ResourceStreamRequestTarget
Object.hashCode()
public java.lang.String toString()
toString
in class ResourceStreamRequestTarget
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |