/* (non-Javadoc)
* @see org.ejbca.ui.web.protocol.CmpProxyServlet.Connection#send(byte)
*/
@Override
public void send(byte message[], HttpServletResponse servletResp, String contentType) throws Exception {
final CMPSendHTTP result = CMPSendHTTP.doIt(message, CmpProxyServlet.this.config.serverAddress, CmpProxyServlet.this.config.serverPort, null, false);
if ( result.responseCode!=HttpURLConnection.HTTP_OK ) {
servletResp.sendError(result.responseCode);
return;
}
sendReturn(servletResp, result.response, result.contentType);