org.keycloak.adapters.undertow

## Class SavedRequest

- java.lang.Object
- - org.keycloak.adapters.undertow.SavedRequest

- All Implemented Interfaces:
    Serializable

      public class SavedRequest
      extends Object
      implements Serializable

  Saved servlet request. Note bill burke: I had to fork this because Undertow was automatically restoring the request before the code could be processed and redirected.
  Author:
    Stuart Douglas
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SavedRequest(byte[] data, int dataLength, io.undertow.util.HttpString method, String requestUri, io.undertow.util.HeaderMap headerMap)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `tryRestoreRequest(io.undertow.server.HttpServerExchange exchange, javax.servlet.http.HttpSession session)`
    `static void` | `trySaveRequest(io.undertow.server.HttpServerExchange exchange)`

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

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

- - ### Constructor Detail

    - #### SavedRequest

          public SavedRequest(byte[] data,
                      int dataLength,
                      io.undertow.util.HttpString method,
                      String requestUri,
                      io.undertow.util.HeaderMap headerMap)

  - ### Method Detail

    - #### trySaveRequest

          public static void trySaveRequest(io.undertow.server.HttpServerExchange exchange)

    - #### tryRestoreRequest

          public static void tryRestoreRequest(io.undertow.server.HttpServerExchange exchange,
                               javax.servlet.http.HttpSession session)

Copyright © 2015. All rights reserved.