public static class IResource.Attributes extends Object
IResource.respond(Attributes)
method.
Attributes are set by the ResourceRequestHandler
.Constructor and Description |
---|
IResource.Attributes(Request request,
Response response)
Construct.
|
IResource.Attributes(Request request,
Response response,
PageParameters parameters)
Construct.
|
Modifier and Type | Method and Description |
---|---|
PageParameters |
getParameters()
Returns additional parameters extracted from the request.
|
Request |
getRequest()
Returns current request.
|
Response |
getResponse()
Returns current response.
|
public IResource.Attributes(Request request, Response response, PageParameters parameters)
request
- response
- parameters
- public Request getRequest()
public Response getResponse()
public PageParameters getParameters()
ResourceReference
, this method returns all (indexed and query) parameters after
the mount path. For non mounted ResourceReference
s this method will only return
the query parameters. For component specific resources the behavior depends on the
component.null
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.