Interface ProxyOutput
- All Known Implementing Classes:
NCBOProxyOutput
public interface ProxyOutput
This interface specifies the output of the annotator
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomHeader(String name, String value) static ProxyOutputstatic ProxyOutputbyte[]Get the mime type of the contentThe content of the outputbooleanisBinary()makeFileTransfer(String filename) transferCustomHeadersToResponse(javax.servlet.http.HttpServletResponse servletResponse)
-
Field Details
-
HTTP_INTERNAL_APPLICATION_ERROR
static final int HTTP_INTERNAL_APPLICATION_ERROR- See Also:
-
-
Method Details
-
addCustomHeader
-
transferCustomHeadersToResponse
-
makeFileTransfer
-
getStringContent
String getStringContent()The content of the output- Returns:
- the content of the output
-
getBinaryContent
byte[] getBinaryContent() -
isBinary
boolean isBinary() -
getMimeType
String getMimeType()Get the mime type of the content- Returns:
- the mime type of the content
-
create
-
create
-