| 
 | Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 | ||||||||
| 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 | doHead(RestContext restContext)Handles HEAD method command requests. | 
|  RestResult | doOptions(RestContext restContext)Handles OPTIONS method command requests. | 
|  RestResult | doPost(RestContext restContext)Handles POST method command requests. | 
|  RestResult | doPut(RestContext restContext)Handles PUT method command requests. | 
|  RestResult | execute(RestContext restContext)Handles unknown command requests. | 
| Method Detail | 
|---|
RestResult doGet(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult doHead(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult doPost(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult doPut(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult doDelete(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult doOptions(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommandRestResult execute(RestContext restContext)
restContext - the RestContext for the current command requestRestResult containing the results of running the RestCommand| 
 | Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.