|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CommandMapper
interface defines a service that can map an invocation to a command
and also provide a mapping from a command to an url.
Method Summary | |
java.lang.String |
doMapping(ServerInvocation invocation,
ControllerCommand cmd,
URLInfo urlInfo)
Create an url for the command. |
ControllerCommand |
doMapping(ServerInvocation invocation,
java.lang.String portalContextPath,
java.lang.String portalRequestPath)
Create a command. |
Method Detail |
public ControllerCommand doMapping(ServerInvocation invocation, java.lang.String portalContextPath, java.lang.String portalRequestPath) throws InvocationException, InvocationRuntimeException
invocation
- the invocationportalContextPath
- portalRequestPath
-
InvocationException
InvocationRuntimeException
public java.lang.String doMapping(ServerInvocation invocation, ControllerCommand cmd, URLInfo urlInfo)
invocation
- the invocationcmd
- the command to encodeurlInfo
- additional information helping to properly encode the url
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |