/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
/** * Send an acknowledgment of a request. An acknowledgment in this * case is simply an HTTP response status line, i.e. * <code>HTTP/1.1 [STATUS] [REASON-PHRASE]<code>. * * @exception java.io.IOException if an input/output error occurs */ public void sendAcknowledgement() throws IOException { if (isCommitted() || !request.requiresAcknowledgement()) return; response.setAcknowledgement(true); outputBuffer.acknowledge(); }
responsePacketBuilder.reasonPhrase(CONINTUE_100.getReasonPhrase()); HttpResponsePacket packet = responsePacketBuilder.build(); packet.setAcknowledgement(true); ctx.write(packet); return ctx.getStopAction();
packet.setAcknowledgement(true); ctx.write(packet); return ctx.getStopAction();