|
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 | ||||||||
java.lang.Object
com.bea.wlp.rest.command.GenericRestChainHandler
public class GenericRestChainHandler
Basic implementation of a RestChainHandler that simply returns the unmodified incoming RestResult. This is useful for implementing custom chain handlers without needing to explicitly implement interfaces members that are no-ops, by just overriding the methods that are needed.
| Constructor Summary | |
|---|---|
GenericRestChainHandler() |
|
| Method Summary | |
|---|---|
RestResult |
doDelete(RestContext restContext, RestResult restResult)No-op implementation of the DELETE method chain handler. |
RestResult |
doGet(RestContext restContext, RestResult restResult)No-op implementation of the GET method chain handler. |
RestResult |
doHead(RestContext restContext, RestResult restResult)No-op implementation of the HEAD method chain handler. |
RestResult |
doOptions(RestContext restContext, RestResult restResult)No-op implementation of the OPTIONS method chain handler. |
RestResult |
doPost(RestContext restContext, RestResult restResult)No-op implementation of the POST method chain handler. |
RestResult |
doPut(RestContext restContext, RestResult restResult)No-op implementation of the PUT method chain handler. |
RestResult |
process(RestContext restContext, RestResult restResult)No-op implementation of other method chain handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericRestChainHandler()
| Method Detail |
|---|
public RestResult doGet(RestContext restContext,
RestResult restResult)
doGet in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult doHead(RestContext restContext,
RestResult restResult)
doHead in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult doPost(RestContext restContext,
RestResult restResult)
doPost in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult doPut(RestContext restContext,
RestResult restResult)
doPut in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult doDelete(RestContext restContext,
RestResult restResult)
doDelete in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult doOptions(RestContext restContext,
RestResult restResult)
doOptions in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
public RestResult process(RestContext restContext,
RestResult restResult)
process in interface RestChainHandlerrestContext - the RestContext that was used to invoke the RestCommandrestResult - the RestResult returned by the RestCommandRestResult assembled by this chain handler
|
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.