Interface SavedRequest

All Superinterfaces:
All Known Implementing Classes:
DefaultSavedRequest, SimpleSavedRequest

public interface SavedRequest extends Serializable
Encapsulates the functionality required of a cached request for both an authentication mechanism (typically form-based login) to redirect to the original URL and for a RequestCache to build a wrapped request, reproducing the original request data.
  • Method Details

    • getRedirectUrl

      String getRedirectUrl()
      the URL for the saved request, allowing a redirect to be performed.
    • getCookies

      List<jakarta.servlet.http.Cookie> getCookies()
    • getMethod

      String getMethod()
    • getHeaderValues

      List<String> getHeaderValues(String name)
    • getHeaderNames

      Collection<String> getHeaderNames()
    • getLocales

      List<Locale> getLocales()
    • getParameterValues

      String[] getParameterValues(String name)
    • getParameterMap

      Map<String,String[]> getParameterMap()