Package org.jboss.resteasy.jsapi

## Class JSAPIWriter

- java.lang.Object
- - org.jboss.resteasy.jsapi.JSAPIWriter

-     public class JSAPIWriter
      extends Object

  Author:
    Stéphane Épardaud

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JSAPIWriter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `writeJavaScript​(String uri, PrintWriter writer, ServiceRegistry serviceRegistry)` |
    `void` | `writeJavaScript​(String base, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Map<String,​ServiceRegistry> serviceRegistries)` |

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

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

- - ### Constructor Detail

    - #### JSAPIWriter

          public JSAPIWriter()

  - ### Method Detail

    - #### writeJavaScript

          public void writeJavaScript​(String base,
                                      javax.servlet.http.HttpServletRequest req,
                                      javax.servlet.http.HttpServletResponse resp,
                                      Map<String,​ServiceRegistry> serviceRegistries)
                               throws IOException

      Throws:
        `IOException`

    - #### writeJavaScript

          public void writeJavaScript​(String uri,
                                      PrintWriter writer,
                                      ServiceRegistry serviceRegistry)
                               throws IOException

      Throws:
        `IOException`