Package org.eclipse.jetty.client.http
Class HttpReceiverOverHTTP
java.lang.Object
org.eclipse.jetty.client.HttpReceiver
org.eclipse.jetty.client.http.HttpReceiverOverHTTP
- All Implemented Interfaces:
HttpParser.HttpHandler,HttpParser.ResponseHandler
@Deprecated(since="2021-05-27")
public class HttpReceiverOverHTTP
extends HttpReceiver
implements HttpParser.ResponseHandler
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbadMessage(BadMessageException failure) Deprecated.Called to signal that a bad HTTP message has been received.booleancontent(ByteBuffer buffer) Deprecated.booleanDeprecated.voidearlyEOF()Deprecated.Called to signal that an EOF was received unexpectedly during the parsing of an HTTP messageintDeprecated.Deprecated.booleanDeprecated.booleanDeprecated.voidparsedHeader(HttpField field) Deprecated.This is the method called by parser when an HTTP Header name and value is foundvoidparsedTrailer(HttpField trailer) Deprecated.This is the method called by parser when an HTTP Trailer name and value is foundvoidreceive()Deprecated.booleanstartResponse(HttpVersion version, int status, String reason) Deprecated.This is the method called by parser when the HTTP request line is parsedtoString()Deprecated.Methods inherited from class org.eclipse.jetty.client.HttpReceiver
abort, isFailedMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http.HttpParser.HttpHandler
badMessage
-
Constructor Details
-
HttpReceiverOverHTTP
Deprecated.
-
-
Method Details
-
getHttpChannel
Deprecated. -
receive
public void receive()Deprecated. -
getHeaderCacheSize
public int getHeaderCacheSize()Deprecated.- Specified by:
getHeaderCacheSizein interfaceHttpParser.HttpHandler- Returns:
- the size in bytes of the per parser header cache
-
startResponse
Deprecated.Description copied from interface:HttpParser.ResponseHandlerThis is the method called by parser when the HTTP request line is parsed- Specified by:
startResponsein interfaceHttpParser.ResponseHandler- Parameters:
version- the http version in usestatus- the response statusreason- the response reason phrase- Returns:
- true if handling parsing should return
-
parsedHeader
Deprecated.Description copied from interface:HttpParser.HttpHandlerThis is the method called by parser when an HTTP Header name and value is found- Specified by:
parsedHeaderin interfaceHttpParser.HttpHandler- Parameters:
field- The field parsed
-
headerComplete
public boolean headerComplete()Deprecated.- Specified by:
headerCompletein interfaceHttpParser.HttpHandler
-
content
Deprecated.- Specified by:
contentin interfaceHttpParser.HttpHandler
-
contentComplete
public boolean contentComplete()Deprecated.- Specified by:
contentCompletein interfaceHttpParser.HttpHandler
-
parsedTrailer
Deprecated.Description copied from interface:HttpParser.HttpHandlerThis is the method called by parser when an HTTP Trailer name and value is found- Specified by:
parsedTrailerin interfaceHttpParser.HttpHandler- Parameters:
trailer- The field parsed
-
messageComplete
public boolean messageComplete()Deprecated.- Specified by:
messageCompletein interfaceHttpParser.HttpHandler
-
earlyEOF
public void earlyEOF()Deprecated.Description copied from interface:HttpParser.HttpHandlerCalled to signal that an EOF was received unexpectedly during the parsing of an HTTP message- Specified by:
earlyEOFin interfaceHttpParser.HttpHandler
-
badMessage
Deprecated.Description copied from interface:HttpParser.HttpHandlerCalled to signal that a bad HTTP message has been received.- Specified by:
badMessagein interfaceHttpParser.HttpHandler- Parameters:
failure- the failure with the bad message information
-
toString
Deprecated.- Overrides:
toStringin classHttpReceiver
-