org.appng.core.controller.handler

## Class RestService

- java.lang.Object
- - org.appng.core.controller.handler.RestService

-     public class RestService
      extends Object

  Adds support for detecting and handling `RestController`s. Also detects `ExceptionHandler`s on beans annotated with `ControllerAdvice`.
  Author:
    Matthias Müller
  See Also:
    `ServiceRequestHandler`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RestService(AccessibleApplication application)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected javax.servlet.http.HttpServletRequestWrapper` | `getWrappedRequest(javax.servlet.http.HttpServletRequest servletRequest)`
    `void` | `handle(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RestService

          public RestService(AccessibleApplication application)

  - ### Method Detail

    - #### handle

          public void handle(javax.servlet.http.HttpServletRequest servletRequest,
                             javax.servlet.http.HttpServletResponse servletResponse)

    - #### getWrappedRequest

          protected javax.servlet.http.HttpServletRequestWrapper getWrappedRequest(javax.servlet.http.HttpServletRequest servletRequest)

Copyright © 2011–2023 aiticon GmbH. All rights reserved.