Class SimpleSavedRequest

  • All Implemented Interfaces:
    java.io.Serializable, SavedRequest

    public class SimpleSavedRequest
    extends java.lang.Object
    implements SavedRequest
    A Bean implementation of SavedRequest
    Since:
    5.1
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleSavedRequest

        public SimpleSavedRequest()
      • SimpleSavedRequest

        public SimpleSavedRequest​(java.lang.String redirectUrl)
      • SimpleSavedRequest

        public SimpleSavedRequest​(SavedRequest request)
    • Method Detail

      • getRedirectUrl

        public java.lang.String getRedirectUrl()
        Specified by:
        getRedirectUrl in interface SavedRequest
        Returns:
        the URL for the saved request, allowing a redirect to be performed.
      • getCookies

        public java.util.List<javax.servlet.http.Cookie> getCookies()
        Specified by:
        getCookies in interface SavedRequest
      • getHeaderValues

        public java.util.List<java.lang.String> getHeaderValues​(java.lang.String name)
        Specified by:
        getHeaderValues in interface SavedRequest
      • getHeaderNames

        public java.util.Collection<java.lang.String> getHeaderNames()
        Specified by:
        getHeaderNames in interface SavedRequest
      • getLocales

        public java.util.List<java.util.Locale> getLocales()
        Specified by:
        getLocales in interface SavedRequest
      • getParameterValues

        public java.lang.String[] getParameterValues​(java.lang.String name)
        Specified by:
        getParameterValues in interface SavedRequest
      • getParameterMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getParameterMap()
        Specified by:
        getParameterMap in interface SavedRequest
      • setRedirectUrl

        public void setRedirectUrl​(java.lang.String redirectUrl)
      • setCookies

        public void setCookies​(java.util.List<javax.servlet.http.Cookie> cookies)
      • setMethod

        public void setMethod​(java.lang.String method)
      • setHeaders

        public void setHeaders​(java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers)
      • setLocales

        public void setLocales​(java.util.List<java.util.Locale> locales)
      • setParameters

        public void setParameters​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)