public abstract class HttpCDXWriter extends CDXWriter
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletResponse |
response |
static String |
RUNTIME_ERROR_HEADER |
protected PrintWriter |
writer |
static String |
X_CLUSTER_URI |
static String |
X_MAX_LINES |
static String |
X_NUM_PAGES |
| Constructor and Description |
|---|
HttpCDXWriter(javax.servlet.http.HttpServletResponse response,
boolean gzip) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static PrintWriter |
getGzipWriter(javax.servlet.http.HttpServletResponse response) |
boolean |
isAborted() |
void |
printError(String msg) |
void |
printNumPages(int numPages,
boolean printInBody) |
void |
serverError(Exception io) |
void |
setContentType(String type) |
void |
setMaxLines(int maxLines,
String remoteClusterUri) |
void |
writeMiscLine(String line) |
modifyOutputFormat, trackLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, end, writeLine, writeResumeKeypublic static final String X_NUM_PAGES
public static final String X_MAX_LINES
public static final String X_CLUSTER_URI
public static final String RUNTIME_ERROR_HEADER
protected javax.servlet.http.HttpServletResponse response
protected PrintWriter writer
public HttpCDXWriter(javax.servlet.http.HttpServletResponse response,
boolean gzip)
throws IOException
IOExceptionpublic void printError(String msg)
printError in class CDXWriterpublic void serverError(Exception io)
serverError in class CDXWriterpublic void setContentType(String type)
setContentType in class CDXWriterpublic void setMaxLines(int maxLines,
String remoteClusterUri)
setMaxLines in class CDXWriterpublic void writeMiscLine(String line)
writeMiscLine in class CDXWriterpublic void printNumPages(int numPages,
boolean printInBody)
printNumPages in class CDXWriterpublic static PrintWriter getGzipWriter(javax.servlet.http.HttpServletResponse response) throws IOException
IOExceptionCopyright © 2005–2015 IIPC. All rights reserved.