Class HTMLOutput
- java.lang.Object
-
- org.intermine.webservice.server.output.Output
-
- org.intermine.webservice.server.output.MemoryOutput
-
- org.intermine.webservice.server.output.HTMLOutput
-
public class HTMLOutput extends MemoryOutput
HTMLOutput extends is similar to MemoryOutput, only difference is, that it prints out errors immediately to output.- Author:
- Jakub Kulaviak
-
-
Field Summary
-
Fields inherited from class org.intermine.webservice.server.output.Output
NOT_ACCEPTABLE, SC_BAD_REQUEST, SC_FORBIDDEN, SC_INTERNAL_SERVER_ERROR, SC_NO_CONTENT, SC_NOT_FOUND, SC_OK, SC_UNAUTHORIZED
-
-
Constructor Summary
Constructors Constructor Description HTMLOutput(java.io.PrintWriter writer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
Prints html closing tags.-
Methods inherited from class org.intermine.webservice.server.output.MemoryOutput
addResultItem, getResults, getResultsCount
-
Methods inherited from class org.intermine.webservice.server.output.Output
getCode, getError, getHeaderAttributes, setError, setHeaderAttributes
-
-
-
-
Method Detail
-
flush
public void flush()
Prints html closing tags.- Overrides:
flush
in classMemoryOutput
-
-