|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RestCommand
Interface to be implemented by all RestCommands.
Each RestCommand can be configured via wlp-restapi-config.xml to handle
a specific URI, which can then be mapped to a full URL via it's configured
namespace and servlet context information.
Depending on the HTTP method used for a request that is dispatched to
a RestCommand one of the four method handling interface members
will be invoked.
| Method Summary | |
|---|---|
RestResult |
doDelete(RestContext restContext)
Handles DELETE method command requests. |
RestResult |
doGet(RestContext restContext)
Handles GET method command requests. |
RestResult |
doPost(RestContext restContext)
Handles POST method command requests. |
RestResult |
doPut(RestContext restContext)
Handles PUT method command requests. |
| Method Detail |
|---|
RestResult doGet(RestContext restContext)
restContext - the RestContext for the current command request
RestResult containing the results of running the RestCommandRestResult doPost(RestContext restContext)
restContext - the RestContext for the current command request
RestResult containing the results of running the RestCommandRestResult doPut(RestContext restContext)
restContext - the RestContext for the current command request
RestResult containing the results of running the RestCommandRestResult doDelete(RestContext restContext)
restContext - the RestContext for the current command request
RestResult containing the results of running the RestCommand
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||