Package org.eclipse.jetty.server
Class MultiPartParser
java.lang.Object
org.eclipse.jetty.server.MultiPartParser
A parser for MultiPart content type.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static interface
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
boolean
isState
(MultiPartParser.State state) boolean
parse
(ByteBuffer buffer, boolean last) Parse until next Event.protected boolean
parseMimePartHeaders
(ByteBuffer buffer) protected boolean
parseOctetContent
(ByteBuffer buffer) void
reset()
toString()
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
MultiPartParser
-
-
Method Details
-
reset
public void reset() -
getHandler
-
getState
-
isState
-
parse
Parse until next Event.- Parameters:
buffer
- the buffer to parselast
- whether this buffer contains last bit of content- Returns:
- True if an
HttpParser.RequestHandler
method was called and it returned true;
-
parseMimePartHeaders
-
parseOctetContent
-
toString
-