|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
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 RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult doHead(RestContext restContext, RestResult restResult)
doHead
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult doPost(RestContext restContext, RestResult restResult)
doPost
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult doPut(RestContext restContext, RestResult restResult)
doPut
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult doDelete(RestContext restContext, RestResult restResult)
doDelete
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult doOptions(RestContext restContext, RestResult restResult)
doOptions
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handlerpublic RestResult process(RestContext restContext, RestResult restResult)
process
in interface RestChainHandler
restContext
- the RestContext
that was used to invoke the RestCommand
restResult
- the RestResult
returned by the RestCommand
RestResult
assembled by this chain handler
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |