Class Parameters


  • public final class Parameters
    extends Object
    Author:
    Costin Manolache
    • Constructor Detail

      • Parameters

        public Parameters()
    • Method Detail

      • setLimit

        public void setLimit​(int limit)
      • getEncoding

        @Deprecated
        public String getEncoding()
        Deprecated.
        This method will be removed in Tomcat 9.0.x
        Returns:
        The current encoding
      • getCharset

        public Charset getCharset()
      • setEncoding

        @Deprecated
        public void setEncoding​(String s)
        Deprecated.
        This method will be removed in Tomcat 9.0.x
        Parameters:
        s - The new encoding
      • setCharset

        public void setCharset​(Charset charset)
      • setQueryStringEncoding

        @Deprecated
        public void setQueryStringEncoding​(String s)
        Deprecated.
        This method will be removed in Tomcat 9
        Parameters:
        s - The new query string encoding
      • setQueryStringCharset

        public void setQueryStringCharset​(Charset queryStringCharset)
      • isParseFailed

        public boolean isParseFailed()
      • recycle

        public void recycle()
      • getParameterValues

        public String[] getParameterValues​(String name)
      • getParameter

        public String getParameter​(String name)
      • handleQueryParameters

        public void handleQueryParameters()
        Process the query string into parameters
      • setURLDecoder

        public void setURLDecoder​(UDecoder u)
      • processParameters

        public void processParameters​(byte[] bytes,
                                      int start,
                                      int len)
      • processParameters

        @Deprecated
        public void processParameters​(MessageBytes data,
                                      String encoding)
        Deprecated.
        This method will be removed in Tomcat 9.0.x
        Parameters:
        data - Parameter data
        encoding - Encoding to use for encoded bytes