Class MultiPart.Parser

java.lang.Object
org.eclipse.jetty.http.MultiPart.Parser
Enclosing class:
MultiPart

public static class MultiPart.Parser extends Object

A multipart/form-data parser that follows RFC 7578.

RFC 7578 mandates that end-of-lines are CRLF, but this parser is more lenient and it is able to parse multipart content that only uses LF as end-of-line.

The parser emits events specified by MultiPart.Parser.Listener, that can be implemented to support specific logic (for example, the max content length of a part, etc.

See Also: