Package org.eclipse.jetty.http
Class QuotedCSV
- java.lang.Object
-
- org.eclipse.jetty.http.QuotedCSVParser
-
- org.eclipse.jetty.http.QuotedCSV
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>
- Direct Known Subclasses:
QuotedQualityCSV
public class QuotedCSV extends QuotedCSVParser implements java.lang.Iterable<java.lang.String>
Implements a quoted comma separated list of values in accordance with RFC7230. OWS is removed and quoted characters ignored for parsing.- See Also:
- "https://tools.ietf.org/html/rfc7230#section-3.2.6", "https://tools.ietf.org/html/rfc7230#section-7"
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getValues()
boolean
isEmpty()
java.util.Iterator<java.lang.String>
iterator()
int
size()
java.lang.String
toString()
-
Methods inherited from class org.eclipse.jetty.http.QuotedCSVParser
addValue, unquote
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
getValues
public java.util.List<java.lang.String> getValues()
-
iterator
public java.util.Iterator<java.lang.String> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<java.lang.String>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-