Class IResource.Attributes
- java.lang.Object
-
- org.apache.wicket.request.resource.IResource.Attributes
-
- Enclosing interface:
- IResource
public static class IResource.Attributes extends Object
Attributes that are provided to resource in theIResource.respond(Attributes)
method. Attributes are set by theResourceRequestHandler
.- Author:
- Matej Knopp
-
-
Constructor Summary
Constructors Constructor Description Attributes(Request request, Response response)
Construct.Attributes(Request request, Response response, PageParameters parameters)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageParameters
getParameters()
Returns additional parameters extracted from the request.Request
getRequest()
Returns current request.Response
getResponse()
Returns current response.
-
-
-
Constructor Detail
-
Attributes
public Attributes(Request request, Response response, PageParameters parameters)
Construct.- Parameters:
request
-response
-parameters
-
-
Attributes
public Attributes(Request request, Response response)
Construct.- Parameters:
request
-response
-
-
-
Method Detail
-
getRequest
public Request getRequest()
Returns current request.- Returns:
- current request
-
getResponse
public Response getResponse()
Returns current response. The resource must write output to the response.- Returns:
- response
-
getParameters
public PageParameters getParameters()
Returns additional parameters extracted from the request. If resource is created mountedResourceReference
, this method returns all (indexed and query) parameters after the mount path. For non mountedResourceReference
s this method will only return the query parameters. For component specific resources the behavior depends on the component.- Returns:
- page parameters or
null
-
-