Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User response handlers are inserted before the FlushResultHandler handler. Apache Wink initializes the user response handler chain with the CheckLocationHeaderHandler handler that verifies that the "Location" response header is present on a response when there is a status code that requires it, for example, status code: 201.

Info
titleReference

Refer to chapter 2 TBD , section ‎2.3.1 TBD for more details on User Handlers Customization.In order to customize a handler chain refer to section 2 "Apache Wink Building Blocks", Customization of the Handlers Chain

Error Handler Chain

The Error Handler Chain is responsible for handling all of the exceptions that are thrown during the invocation of the Request and Response handler chains, according to the JAX-RS specification for handling exceptions. It is responsible for determining the response status code, selecting the response media type and for serializing the response entity.

...

User error handlers are inserted before the FlushResultHandler handler.

Info
titleReference

Refer to chapter 2, section ‎2.3.1 TBD for more details on User Handlers Customization.In order to customize a handler chain refer to section 2 "Apache Wink Building Blocks", Customization of the Handlers Chain

Request Processing

The following details how the Apache Wink runtime performs request processing:

...