Package org.eclipse.jetty.http
Interface HttpParser.HttpHandler
-
- All Known Subinterfaces:
HttpParser.ComplianceHandler,HttpParser.RequestHandler,HttpParser.ResponseHandler
- All Known Implementing Classes:
HttpChannelOverHttp,HttpReceiverOverHTTP
- Enclosing class:
- HttpParser
@Deprecated(since="2021-05-27") public static interface HttpParser.HttpHandlerDeprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidbadMessage(int status, java.lang.String reason)Deprecated.usebadMessage(BadMessageException)insteaddefault voidbadMessage(BadMessageException failure)Deprecated.Called to signal that a bad HTTP message has been received.booleancontent(java.nio.ByteBuffer item)Deprecated.booleancontentComplete()Deprecated.voidearlyEOF()Deprecated.Called to signal that an EOF was received unexpectedly during the parsing of an HTTP messageintgetHeaderCacheSize()Deprecated.booleanheaderComplete()Deprecated.booleanmessageComplete()Deprecated.voidparsedHeader(HttpField field)Deprecated.This is the method called by parser when an HTTP Header name and value is founddefault voidparsedTrailer(HttpField field)Deprecated.This is the method called by parser when an HTTP Trailer name and value is found
-
-
-
Method Detail
-
content
boolean content(java.nio.ByteBuffer item)
Deprecated.
-
headerComplete
boolean headerComplete()
Deprecated.
-
contentComplete
boolean contentComplete()
Deprecated.
-
messageComplete
boolean messageComplete()
Deprecated.
-
parsedHeader
void parsedHeader(HttpField field)
Deprecated.This is the method called by parser when an HTTP Header name and value is found- Parameters:
field- The field parsed
-
parsedTrailer
default void parsedTrailer(HttpField field)
Deprecated.This is the method called by parser when an HTTP Trailer name and value is found- Parameters:
field- The field parsed
-
earlyEOF
void earlyEOF()
Deprecated.Called to signal that an EOF was received unexpectedly during the parsing of an HTTP message
-
badMessage
default void badMessage(BadMessageException failure)
Deprecated.Called to signal that a bad HTTP message has been received.- Parameters:
failure- the failure with the bad message information
-
badMessage
@Deprecated default void badMessage(int status, java.lang.String reason)Deprecated.usebadMessage(BadMessageException)instead
-
getHeaderCacheSize
int getHeaderCacheSize()
Deprecated.- Returns:
- the size in bytes of the per parser header cache
-
-