public abstract class QueryResultView extends Object implements org.springframework.web.servlet.View
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_KEY
Key by which the current
RepositoryConnection is stored in the Model. |
static String |
FACTORY_KEY
Key by which the query result writer factory is stored in the model.
|
static String |
FILENAME_HINT_KEY
Key by which a filename hint is stored in the model.
|
static String |
HEADERS_ONLY |
static String |
QUERY_RESULT_KEY
Key by which the query result is stored in the model.
|
Constructor and Description |
---|
QueryResultView() |
Modifier and Type | Method and Description |
---|---|
protected void |
logEndOfRequest(javax.servlet.http.HttpServletRequest request) |
void |
render(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected abstract void |
renderInternal(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
setContentDisposition(Map model,
javax.servlet.http.HttpServletResponse response,
FileFormat fileFormat) |
protected void |
setContentType(javax.servlet.http.HttpServletResponse response,
FileFormat fileFormat) |
public static final String QUERY_RESULT_KEY
public static final String FACTORY_KEY
public static final String FILENAME_HINT_KEY
public static final String CONNECTION_KEY
RepositoryConnection
is stored in the Model. If this is present, the
QueryResultView
will take care to close the connection after processing the query result.public static final String HEADERS_ONLY
public final void render(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
render
in interface org.springframework.web.servlet.View
IOException
protected abstract void renderInternal(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
protected void setContentType(javax.servlet.http.HttpServletResponse response, FileFormat fileFormat) throws IOException
IOException
protected void setContentDisposition(Map model, javax.servlet.http.HttpServletResponse response, FileFormat fileFormat) throws IOException
IOException
protected void logEndOfRequest(javax.servlet.http.HttpServletRequest request)
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.