Package com.yahoo.vespa.http.server
Class FeedResponse
java.lang.Object
com.yahoo.container.jdisc.HttpResponse
com.yahoo.vespa.http.server.FeedResponse
public class FeedResponse
extends com.yahoo.container.jdisc.HttpResponse
Reads feed responses from a queue and renders them continuously to the
feeder.
- Author:
- Steinar Knutsen
-
Field Summary
Fields inherited from class com.yahoo.container.jdisc.HttpResponse
DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionFeedResponse(int status, BlockingQueue<com.yahoo.vespa.http.server.OperationStatus> operations, int protocolVersion, String sessionId) FeedResponse(int status, BlockingQueue<com.yahoo.vespa.http.server.OperationStatus> operations, int protocolVersion, String sessionId, int outstandingClientOperations, String hostName) -
Method Summary
Methods inherited from class com.yahoo.container.jdisc.HttpResponse
complete, getJdiscResponse, getLogValues, getRequestType, getStatus, headers, maxPendingBytes, populateAccessLogEntry, setRequestType, setStatus
-
Constructor Details
-
FeedResponse
public FeedResponse(int status, BlockingQueue<com.yahoo.vespa.http.server.OperationStatus> operations, int protocolVersion, String sessionId) -
FeedResponse
public FeedResponse(int status, BlockingQueue<com.yahoo.vespa.http.server.OperationStatus> operations, int protocolVersion, String sessionId, int outstandingClientOperations, String hostName)
-
-
Method Details
-
render
- Specified by:
renderin classcom.yahoo.container.jdisc.HttpResponse- Throws:
IOException
-
getContentType
- Overrides:
getContentTypein classcom.yahoo.container.jdisc.HttpResponse
-
getCharacterEncoding
- Overrides:
getCharacterEncodingin classcom.yahoo.container.jdisc.HttpResponse
-