public interface IHttpResponse
Modifier and Type | Method and Description |
---|---|
void |
writeHttpResponse(java.lang.String contentType,
byte[] response)
Write a byte[] response to the OutputStream.
|
void |
writeHttpResponse(java.lang.String contentType,
java.lang.String response)
Write a String response to the OutputStream.
|
void writeHttpResponse(java.lang.String contentType, java.lang.String response) throws java.io.IOException
contentType
- the content type of the response.response
- the string containing the response.java.io.IOException
void writeHttpResponse(java.lang.String contentType, byte[] response) throws java.io.IOException
contentType
- the content type of the response.response
- the byte array containing the response.java.io.IOException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details