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
-
Field Summary
Fields inherited from class org.eclipse.jetty.client.HttpReceiver
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbadMessage(BadMessageException failure) booleancontent(ByteBuffer buffer) booleanvoidearlyEOF()protected voidintprotected ByteBufferbooleanprotected booleanbooleanprotected ByteBuffervoidparsedHeader(HttpField field) voidparsedTrailer(HttpField trailer) voidreceive()protected voidreset()Resets the state of this HttpReceiver.booleanstartResponse(HttpVersion version, int status, String reason) toString()Methods inherited from class org.eclipse.jetty.client.HttpReceiver
abort, demand, dispose, getHttpDestination, getHttpExchange, hasDemandOrStall, isFailed, responseBegin, responseContent, responseFailure, responseHeader, responseHeaders, responseSuccess, storeCookieMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.http.HttpParser.HttpHandler
badMessage
-
Constructor Details
-
HttpReceiverOverHTTP
-
-
Method Details
-
getHttpChannel
- Overrides:
getHttpChannelin classHttpReceiver
-
getResponseBuffer
-
receive
public void receive()- Overrides:
receivein classHttpReceiver
-
onUpgradeFrom
-
fillInterested
protected void fillInterested() -
isShutdown
protected boolean isShutdown() -
getHeaderCacheSize
public int getHeaderCacheSize()- Specified by:
getHeaderCacheSizein interfaceHttpParser.HttpHandler
-
startResponse
- Specified by:
startResponsein interfaceHttpParser.ResponseHandler
-
parsedHeader
- Specified by:
parsedHeaderin interfaceHttpParser.HttpHandler
-
headerComplete
public boolean headerComplete()- Specified by:
headerCompletein interfaceHttpParser.HttpHandler
-
content
- Specified by:
contentin interfaceHttpParser.HttpHandler
-
contentComplete
public boolean contentComplete()- Specified by:
contentCompletein interfaceHttpParser.HttpHandler
-
parsedTrailer
- Specified by:
parsedTrailerin interfaceHttpParser.HttpHandler
-
messageComplete
public boolean messageComplete()- Specified by:
messageCompletein interfaceHttpParser.HttpHandler
-
earlyEOF
public void earlyEOF()- Specified by:
earlyEOFin interfaceHttpParser.HttpHandler
-
badMessage
- Specified by:
badMessagein interfaceHttpParser.HttpHandler
-
reset
protected void reset()Description copied from class:HttpReceiverResets the state of this HttpReceiver.Subclasses should override (but remember to call
super) to reset their own state.Either this method or
HttpReceiver.dispose()is called.- Overrides:
resetin classHttpReceiver
-
toString
- Overrides:
toStringin classHttpReceiver
-