public class WebExternalResourceRequestHandler extends ResourceStreamRequestHandler
RequestCycle
s.
NOTE: this class is a wrapper around
ResourceStreamRequestHandler.ResourceStreamRequestHandler(org.apache.wicket.util.resource.IResourceStream)
, and kept for compatibility purposes.
Constructor and Description |
---|
WebExternalResourceRequestHandler(String uri)
Construct.
|
Modifier and Type | Method and Description |
---|---|
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() |
configure, getCacheDuration, getContentDisposition, getFileName, getLogData, getResourceStream, respond, setCacheDuration, setContentDisposition, setFileName
public WebExternalResourceRequestHandler(String uri)
uri
- the relative url of the external resourcepublic final String getUrl()
public void detach(IRequestCycle requestCycle)
IRequestHandler
detach
in interface IRequestHandler
detach
in class ResourceStreamRequestHandler
requestCycle
- the current request cycleIRequestHandler.detach(org.apache.wicket.request.IRequestCycle)
public boolean equals(Object obj)
equals
in class ResourceStreamRequestHandler
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class ResourceStreamRequestHandler
Object.hashCode()
public String toString()
toString
in class ResourceStreamRequestHandler
Object.toString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.