org.springframework.security.web.savedrequest
Interface SavedRequest

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultSavedRequest

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.

Since:
3.0
Version:
$Id: SavedRequest.java 3884 2009-09-13 16:27:35Z ltaylor $
Author:
Luke Taylor

Method Summary
 List<Cookie> getCookies()
           
 Collection<String> getHeaderNames()
           
 List<String> getHeaderValues(String name)
           
 List<Locale> getLocales()
           
 String getMethod()
           
 Map<String,String[]> getParameterMap()
           
 String[] getParameterValues(String name)
           
 String getRedirectUrl()
           
 

Method Detail

getRedirectUrl

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

getCookies

List<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()


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.