org.apache.cayenne.configuration.web

## Interface RequestHandler

- All Known Implementing Classes:
    SessionContextRequestHandler, StatelessContextRequestHandler

      public interface RequestHandler

  A service invoked by `CayenneFilter` that provides a callback mechanism to bind appropriate ObjectContext to the request thread, handle transactions, etc.
  Since:
    3.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `requestEnd(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)`
    `void` | `requestStart(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)`

- - ### Method Detail

    - #### requestStart

          void requestStart(javax.servlet.ServletRequest request,
                            javax.servlet.ServletResponse response)

    - #### requestEnd

          void requestEnd(javax.servlet.ServletRequest request,
                          javax.servlet.ServletResponse response)

Copyright © 2001–2023 Apache Cayenne. All rights reserved.