Class ResourceRequestHandler
- java.lang.Object
-
- org.apache.wicket.request.handler.resource.ResourceRequestHandler
-
- All Implemented Interfaces:
IRequestHandler
public class ResourceRequestHandler extends Object implements IRequestHandler
Request handler that renders a resource.- Author:
- Matej Knopp
-
-
Constructor Summary
Constructors Constructor Description ResourceRequestHandler(IResource resource, PageParameters parameters)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageParameters
getPageParameters()
IResource
getResource()
void
respond(IRequestCycle requestCycle)
Generates a response.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.request.IRequestHandler
detach
-
-
-
-
Constructor Detail
-
ResourceRequestHandler
public ResourceRequestHandler(IResource resource, PageParameters parameters)
Construct.- Parameters:
resource
-parameters
-
-
-
Method Detail
-
getPageParameters
public PageParameters getPageParameters()
- Returns:
- page parameters
-
getResource
public IResource getResource()
- Returns:
- resource
-
respond
public void respond(IRequestCycle requestCycle)
Description copied from interface:IRequestHandler
Generates a response.- Specified by:
respond
in interfaceIRequestHandler
- Parameters:
requestCycle
- the current request cycle- See Also:
IRequestHandler.respond(org.apache.wicket.request.IRequestCycle)
-
-