|
Copyright © 2000, 2009, Oracle and/or its affiliates. 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 |
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 request
RestResult
containing the results of running the RestCommand
RestResult doHead(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
RestResult doPost(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
RestResult doPut(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
RestResult doDelete(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
RestResult doOptions(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
RestResult execute(RestContext restContext)
restContext
- the RestContext
for the current command request
RestResult
containing the results of running the RestCommand
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |