Class HttpResponseHeaderParser
java.lang.Object
org.eclipse.jetty.websocket.common.io.http.HttpResponseHeaderParser
Responsible for reading UTF8 Response Header lines and parsing them into a provided UpgradeResponse object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
private static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.eclipse.jetty.util.Utf8LineParser
private final HttpResponseHeaderParseListener
private static final Pattern
private static final Pattern
private HttpResponseHeaderParser.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDone()
parse
(ByteBuffer buf) private boolean
parseHeader
(String line)
-
Field Details
-
PAT_HEADER
-
PAT_STATUS_LINE
-
listener
-
lineParser
private final org.eclipse.jetty.util.Utf8LineParser lineParser -
state
-
-
Constructor Details
-
HttpResponseHeaderParser
-
-
Method Details
-
isDone
public boolean isDone() -
parse
public HttpResponseHeaderParseListener parse(ByteBuffer buf) throws HttpResponseHeaderParser.ParseException -
parseHeader
-