com.holonplatform.jaxrs.swagger

## Class SwaggerContextListener

- java.lang.Object
- - com.holonplatform.jaxrs.swagger.SwaggerContextListener

- All Implemented Interfaces:
    io.swagger.jaxrs.config.ReaderListener

      public class SwaggerContextListener
      extends Object
      implements io.swagger.jaxrs.config.ReaderListener

  Swagger `ReaderListener` to handle current `Swagger` instance using a `ThreadLocal`.
  Since:
    5.0.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwaggerContextListener()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterScan(io.swagger.jaxrs.Reader reader, io.swagger.models.Swagger swagger)`
    `void` | `beforeScan(io.swagger.jaxrs.Reader reader, io.swagger.models.Swagger swagger)`

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

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

- - ### Constructor Detail

    - #### SwaggerContextListener

          public SwaggerContextListener()

  - ### Method Detail

    - #### beforeScan

          public void beforeScan(io.swagger.jaxrs.Reader reader,
                                 io.swagger.models.Swagger swagger)

      Specified by:
        `beforeScan` in interface `io.swagger.jaxrs.config.ReaderListener`

    - #### afterScan

          public void afterScan(io.swagger.jaxrs.Reader reader,
                                io.swagger.models.Swagger swagger)

      Specified by:
        `afterScan` in interface `io.swagger.jaxrs.config.ReaderListener`

Copyright © 2017 The Holon Platform. All rights reserved.