java.lang.Object
org.apache.wicket.request.resource.IResource.Attributes
- Enclosing interface:
- IResource
Attributes that are provided to resource in the
IResource.respond(Attributes)
method.
Attributes are set by the ResourceRequestHandler
.- Author:
- Matej Knopp
-
Constructor Summary
ConstructorDescriptionAttributes
(Request request, Response response) Construct.Attributes
(Request request, Response response, PageParameters parameters) Construct. -
Method Summary
Modifier and TypeMethodDescriptionReturns additional parameters extracted from the request.Returns current request.Returns current response.
-
Constructor Details
-
Attributes
Construct.- Parameters:
request
-response
-parameters
-
-
Attributes
Construct.- Parameters:
request
-response
-
-
-
Method Details
-
getRequest
Returns current request.- Returns:
- current request
-
getResponse
Returns current response. The resource must write output to the response.- Returns:
- response
-
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
-