public abstract class ExtendedResponse extends AsyncHttpResponse
DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE
Constructor and Description |
---|
ExtendedResponse(int status) |
Modifier and Type | Method and Description |
---|---|
Coverage |
getCoverage()
Returns the completeness of the scan of the total known data for this
response.
|
com.yahoo.container.logging.HitCounts |
getHitCounts()
Returns the number of "hits" in this.
|
String |
getParsedQuery()
The parsed query or some other normal form for the query/request
resulting in this Response.
|
Timing |
getTiming()
Returns timing information about the processing leading to this response.
|
String |
getUser() |
abstract void |
render(OutputStream output,
com.yahoo.jdisc.handler.ContentChannel networkChannel,
com.yahoo.jdisc.handler.CompletionHandler handler)
Render to output asynchronously.
|
render
complete, getCharacterEncoding, getContentType, getJdiscResponse, getLogValues, getStatus, headers, populateAccessLogEntry, setStatus
public abstract void render(OutputStream output, com.yahoo.jdisc.handler.ContentChannel networkChannel, com.yahoo.jdisc.handler.CompletionHandler handler) throws IOException
AsyncHttpResponse
render
in class AsyncHttpResponse
output
- the stream to which content should be renderednetworkChannel
- the channel which must be closed on completionhandler
- the completion handler to submit when closing the channel, may
be nullIOException
public String getUser()
public String getParsedQuery()
public Timing getTiming()
Timing
public Coverage getCoverage()
Coverage
public com.yahoo.container.logging.HitCounts getHitCounts()
Copyright © 2018. All rights reserved.