@Deprecated public final class DefaultRenderer extends com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
Modifier and Type | Class and Description |
---|---|
static class |
DefaultRenderer.RenderingVisitor
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODING
Deprecated.
|
static String |
DEFAULT_MIMETYPE
Deprecated.
|
Constructor and Description |
---|
DefaultRenderer()
Deprecated.
|
DefaultRenderer(Executor executor)
Deprecated.
Creates a json renderer using a custom executor.
|
Modifier and Type | Method and Description |
---|---|
void |
beginList(com.yahoo.processing.response.DataList<?> list)
Deprecated.
|
void |
beginResponse(OutputStream stream)
Deprecated.
|
void |
data(com.yahoo.processing.response.Data data)
Deprecated.
|
protected void |
emptyResult(com.yahoo.text.XMLWriter writer,
Result result)
Deprecated.
|
void |
endList(com.yahoo.processing.response.DataList<?> list)
Deprecated.
|
void |
endResponse()
Deprecated.
|
void |
error(com.yahoo.text.XMLWriter writer,
Result result)
Deprecated.
|
String |
getEncoding()
Deprecated.
|
String |
getMimeType()
Deprecated.
|
String |
getRequestedEncoding(Query query)
Deprecated.
Returns the encoding of the query, or the encoding given by the template if none is set
|
void |
init()
Deprecated.
|
void |
queryContext(com.yahoo.text.XMLWriter writer,
QueryContext queryContext,
Query owner)
Deprecated.
|
protected static void |
renderCoverageAttributes(Coverage coverage,
com.yahoo.text.XMLWriter writer)
Deprecated.
|
static void |
renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer,
ErrorMessage error)
Deprecated.
|
static boolean |
simpleRenderDefaultErrorHit(com.yahoo.text.XMLWriter writer,
ErrorHit defaultErrorHit)
Deprecated.
|
clientClosed, deconstruct, getExecution, getRecursionLevel, getResponse, onClientClosed, render, renderBeforeHandover, setNetworkWiring
public static final String DEFAULT_MIMETYPE
public static final String DEFAULT_ENCODING
public DefaultRenderer()
public DefaultRenderer(Executor executor)
public void init()
init
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
public String getEncoding()
getEncoding
in class com.yahoo.processing.rendering.Renderer<Result>
public String getMimeType()
getMimeType
in class com.yahoo.processing.rendering.Renderer<Result>
protected static void renderCoverageAttributes(Coverage coverage, com.yahoo.text.XMLWriter writer) throws IOException
IOException
public void error(com.yahoo.text.XMLWriter writer, Result result) throws IOException
IOException
protected void emptyResult(com.yahoo.text.XMLWriter writer, Result result) throws IOException
IOException
public void queryContext(com.yahoo.text.XMLWriter writer, QueryContext queryContext, Query owner) throws IOException
IOException
public static boolean simpleRenderDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorHit defaultErrorHit) throws IOException
IOException
public static void renderMessageDefaultErrorHit(com.yahoo.text.XMLWriter writer, ErrorMessage error) throws IOException
IOException
public void beginResponse(OutputStream stream) throws IOException
beginResponse
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
IOException
public final String getRequestedEncoding(Query query)
public void beginList(com.yahoo.processing.response.DataList<?> list) throws IOException
beginList
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
IOException
public void data(com.yahoo.processing.response.Data data) throws IOException
data
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
IOException
public void endList(com.yahoo.processing.response.DataList<?> list)
endList
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
public void endResponse()
endResponse
in class com.yahoo.processing.rendering.AsynchronousSectionedRenderer<Result>
Copyright © 2018. All rights reserved.