org.springframework.security.web.savedrequest
Interface SavedRequest

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultSavedRequest

public interface SavedRequest
extends java.io.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.

Since:
3.0

Method Summary
 java.util.List<javax.servlet.http.Cookie> getCookies()
           
 java.util.Collection<java.lang.String> getHeaderNames()
           
 java.util.List<java.lang.String> getHeaderValues(java.lang.String name)
           
 java.util.List<java.util.Locale> getLocales()
           
 java.lang.String getMethod()
           
 java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
           
 java.lang.String[] getParameterValues(java.lang.String name)
           
 java.lang.String getRedirectUrl()
           
 

Method Detail

getRedirectUrl

java.lang.String getRedirectUrl()
Returns:
the URL for the saved request, allowing a redirect to be performed.

getCookies

java.util.List<javax.servlet.http.Cookie> getCookies()

getMethod

java.lang.String getMethod()

getHeaderValues

java.util.List<java.lang.String> getHeaderValues(java.lang.String name)

getHeaderNames

java.util.Collection<java.lang.String> getHeaderNames()

getLocales

java.util.List<java.util.Locale> getLocales()

getParameterValues

java.lang.String[] getParameterValues(java.lang.String name)

getParameterMap

java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()