| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Parser. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public boolean |
| cursor | back to summary |
|---|---|
| private int cursor | |
| listener | back to summary |
|---|---|
| private final Parser. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| PrefaceParser | back to summary |
|---|---|
| public PrefaceParser(Parser. | |
| directUpgrade | back to summary |
|---|---|
| protected void directUpgrade() Advances this parser after the This allows the HTTP/1.1 parser to parse the preamble of the preface, which is a legal HTTP/1.1 request, and this parser will parse the remaining bytes, that are not parseable by an HTTP/1.1 parser. | |
| notifyConnectionFailure | back to summary |
|---|---|
| protected void notifyConnectionFailure(int error, String reason) | |
| parse | back to summary |
|---|---|
| public boolean parse(ByteBuffer buffer) | |