org.keycloak.adapters

## Interface HttpFacade.Response

- All Known Implementing Classes:
    CatalinaHttpFacade.ResponseFacade, CatalinaHttpFacade.ResponseFacade, UndertowHttpFacade.ResponseFacade
  Enclosing interface:
    HttpFacade

      public static interface HttpFacade.Response

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addHeader(String name, String value)`
    `void` | `end()` If the response is finished, end it.
    `OutputStream` | `getOutputStream()`
    `void` | `resetCookie(String name, String path)`
    `void` | `sendError(int code, String message)`
    `void` | `setCookie(String name, String value, String path, String domain, int maxAge, boolean secure, boolean httpOnly)`
    `void` | `setHeader(String name, String value)`
    `void` | `setStatus(int status)`

- - ### Method Detail

    - #### setStatus

          void setStatus(int status)

    - #### addHeader

          void addHeader(String name,
                       String value)

    - #### setHeader

          void setHeader(String name,
                       String value)

    - #### resetCookie

          void resetCookie(String name,
                         String path)

    - #### setCookie

          void setCookie(String name,
                       String value,
                       String path,
                       String domain,
                       int maxAge,
                       boolean secure,
                       boolean httpOnly)

    - #### getOutputStream

          OutputStream getOutputStream()

    - #### sendError

          void sendError(int code,
                       String message)

    - #### end

          void end()

      If the response is finished, end it.

Copyright © 2015. All Rights Reserved.