Class TE
java.lang.Object
org.apache.tomcat.util.http.parser.TE
Represents a Transfer-Encoding value with optional parameters and quality factor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the encoding name.Returns the parameters for this encoding.doubleReturns the quality factor.parse(StringReader input) Parses a Transfer-Encoding header value into a list of TE instances.
-
Constructor Details
-
TE
-
-
Method Details
-
getEncoding
-
getParameters
-
getQuality
public double getQuality()Returns the quality factor.- Returns:
- the quality factor
-
parse
Parses a Transfer-Encoding header value into a list of TE instances.- Parameters:
input- the input reader containing the header value- Returns:
- the list of parsed TE values
- Throws:
IOException- if a parsing error occurs
-