Sends data in an HTTP "200 OK" reply to the client. @param data Raw byte array to send as-is after the HTTP headers.
(final byte[] data)
| 527 | * @param data Raw byte array to send as-is after the HTTP headers. |
| 528 | */ |
| 529 | public void sendReply(final byte[] data) { |
| 530 | sendBuffer(HttpResponseStatus.OK, ChannelBuffers.wrappedBuffer(data)); |
| 531 | } |
| 532 | |
| 533 | /** |
| 534 | * Sends data to the client with the given HTTP status code. |