Class SavedRequest

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SavedRequest
    extends java.lang.Object
    implements java.io.Serializable
    Object that saves the critical information from a request so that form-based authentication can reproduce it once the user has been authenticated.

    IMPLEMENTATION NOTE - It is assumed that this object is accessed only from the context of a single thread, so no synchronization around internal collection classes is performed.

    Author:
    Craig R. McClanahan
    See Also:
    Serialized Form
    • Constructor Detail

      • SavedRequest

        public SavedRequest()
    • Method Detail

      • addCookie

        public void addCookie​(Cookie cookie)
      • getCookies

        public java.util.Iterator<Cookie> getCookies()
      • addHeader

        public void addHeader​(java.lang.String name,
                              java.lang.String value)
      • getHeaderNames

        public java.util.Iterator<java.lang.String> getHeaderNames()
      • getHeaderValues

        public java.util.Iterator<java.lang.String> getHeaderValues​(java.lang.String name)
      • addLocale

        public void addLocale​(java.util.Locale locale)
      • getLocales

        public java.util.Iterator<java.util.Locale> getLocales()
      • getMethod

        public java.lang.String getMethod()
      • setMethod

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

        public java.lang.String getQueryString()
      • setQueryString

        public void setQueryString​(java.lang.String queryString)
      • getRequestURI

        public java.lang.String getRequestURI()
      • setRequestURI

        public void setRequestURI​(java.lang.String requestURI)
      • getDecodedRequestURI

        public java.lang.String getDecodedRequestURI()
      • setDecodedRequestURI

        public void setDecodedRequestURI​(java.lang.String decodedRequestURI)
      • setBody

        public void setBody​(ByteChunk body)
      • getContentType

        public java.lang.String getContentType()
      • setContentType

        public void setContentType​(java.lang.String contentType)