public class ResourceReferenceRequestHandler extends Object implements IRequestHandler, ILoggableRequestHandler
ResourceReference
. This handler is only used to generate URLs.Constructor and Description |
---|
ResourceReferenceRequestHandler(ResourceReference resourceReference)
Construct.
|
ResourceReferenceRequestHandler(ResourceReference resourceReference,
PageParameters pageParameters)
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.
|
Locale |
getLocale() |
ResourceReferenceLogData |
getLogData()
Returns the collected log data for this request handler and should never throw an exception.
|
PageParameters |
getPageParameters() |
IResource |
getResource() |
ResourceReference |
getResourceReference() |
String |
getStyle() |
String |
getVariation() |
void |
respond(IRequestCycle requestCycle)
Generates a response.
|
String |
toString() |
public ResourceReferenceRequestHandler(ResourceReference resourceReference)
resourceReference
- public ResourceReferenceRequestHandler(ResourceReference resourceReference, PageParameters pageParameters)
resourceReference
- pageParameters
- public ResourceReference getResourceReference()
public PageParameters getPageParameters()
public void detach(IRequestCycle requestCycle)
IRequestHandler
detach
in interface IRequestHandler
requestCycle
- the current request cyclepublic ResourceReferenceLogData getLogData()
ILoggableRequestHandler
getLogData
in interface ILoggableRequestHandler
public void respond(IRequestCycle requestCycle)
IRequestHandler
respond
in interface IRequestHandler
requestCycle
- the current request cyclepublic Locale getLocale()
public IResource getResource()
public String getStyle()
public String getVariation()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.