Package org.eclipse.jetty.http
Class MultiPartParser
- java.lang.Object
-
- org.eclipse.jetty.http.MultiPartParser
-
@Deprecated(since="2021-05-27") public class MultiPartParser extends java.lang.Object
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A parser for MultiPart content type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiPartParser.FieldState
Deprecated.static interface
MultiPartParser.Handler
Deprecated.static class
MultiPartParser.State
Deprecated.
-
Constructor Summary
Constructors Constructor Description MultiPartParser(MultiPartParser.Handler handler, java.lang.String boundary)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MultiPartParser.Handler
getHandler()
Deprecated.MultiPartParser.State
getState()
Deprecated.boolean
isState(MultiPartParser.State state)
Deprecated.boolean
parse(java.nio.ByteBuffer buffer, boolean last)
Deprecated.Parse until next Event.void
reset()
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
LOG
public static final Logger LOG
Deprecated.
-
-
Constructor Detail
-
MultiPartParser
public MultiPartParser(MultiPartParser.Handler handler, java.lang.String boundary)
Deprecated.
-
-
Method Detail
-
reset
public void reset()
Deprecated.
-
getHandler
public MultiPartParser.Handler getHandler()
Deprecated.
-
getState
public MultiPartParser.State getState()
Deprecated.
-
isState
public boolean isState(MultiPartParser.State state)
Deprecated.
-
parse
public boolean parse(java.nio.ByteBuffer buffer, boolean last)
Deprecated.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;
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-