|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A source of ILink
instances. This is primarily used by
IEngineService
s.
Method Summary | |
ILink |
constructLink(IEngineService service,
boolean post,
java.util.Map parameters,
boolean stateful)
Constructs an ILink . |
java.lang.Object[] |
extractListenerParameters(IRequestCycle cycle)
A secondary function of the service is to convert encoded (aka "squeezed") listener parameters back into an array of Objects. |
ServiceEncoder[] |
getServiceEncoders()
Returns an array of ServiceEncoder , ordering into
execution order. |
Method Detail |
public ILink constructLink(IEngineService service, boolean post, java.util.Map parameters, boolean stateful)
ILink
.
service
- the service for which the link is being generatedpost
- if true, then the link will be used for a post (not a get, i.e., for a HTML form);
this may affect what information is encoded into the linkparameters
- A map; keys are strings and values are strings or string arrays (exception: key
ServiceConstants.PARAMETER
is an array of objects. Certain keys, defined
in ServiceConstants
may have special meaning. The map will typically be
modified internally. May not be null.stateful
- If true, then the final URL should be encoded (with the session id) if necessary.
If false, the session encoding should not occur. The latter case is useful for
services that will absolutely not need any access to user-specific state.public java.lang.Object[] extractListenerParameters(IRequestCycle cycle)
cycle
- the current request cycle
public ServiceEncoder[] getServiceEncoders()
ServiceEncoder
, ordering into
execution order. May return an empty array, but won't return null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |