Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2008 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wlp.rest.command
Interface RestChainHandler

All Known Implementing Classes:
  GenericRestChainHandler

    public interface RestChainHandler

Interfaces for implementations of `RestChainHandlers`, which are used to modify or augment the `RestResults` generated by a `RestCommand`. `RestChainHandlers` are associated with specific `RestCommands` by configuring them via wlp-restapi-config.xml.

Method Summary
`RestResult` | `doDelete(RestContext restContext, RestResult restResult)` Processes the result of a DELETE method `RestCommand`
`RestResult` | `doGet(RestContext restContext, RestResult restResult)` Processes the result of a GET method `RestCommand`
`RestResult` | `doPost(RestContext restContext, RestResult restResult)` Processes the result of a POST method `RestCommand`
`RestResult` | `doPut(RestContext restContext, RestResult restResult)` Processes the result of a PUT method `RestCommand`

Method Detail

### doGet

    RestResult doGet(RestContext restContext,
                     RestResult restResult)

  Processes the result of a GET method `RestCommand`

  Parameters
    `restContext` - the `RestContext` used for the command dispatch
    `restResult` - the `RestResult` returned from the command dispatch
  Returns
    the modified `RestResult` as constructed by this chain handler

### doPost

    RestResult doPost(RestContext restContext,
                      RestResult restResult)

  Processes the result of a POST method `RestCommand`

  Parameters
    `restContext` - the `RestContext` used for the command dispatch
    `restResult` - the `RestResult` returned from the command dispatch
  Returns
    the modified `RestResult` as constructed by this chain handler

### doPut

    RestResult doPut(RestContext restContext,
                     RestResult restResult)

  Processes the result of a PUT method `RestCommand`

  Parameters
    `restContext` - the `RestContext` used for the command dispatch
    `restResult` - the `RestResult` returned from the command dispatch
  Returns
    the modified `RestResult` as constructed by this chain handler

### doDelete

    RestResult doDelete(RestContext restContext,
                        RestResult restResult)

  Processes the result of a DELETE method `RestCommand`

  Parameters
    `restContext` - the `RestContext` used for the command dispatch
    `restResult` - the `RestResult` returned from the command dispatch
  Returns
    the modified `RestResult` as constructed by this chain handler

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved