View Javadoc

1   //
2   //  ========================================================================
3   //  Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
4   //  ------------------------------------------------------------------------
5   //  All rights reserved. This program and the accompanying materials
6   //  are made available under the terms of the Eclipse Public License v1.0
7   //  and Apache License v2.0 which accompanies this distribution.
8   //
9   //      The Eclipse Public License is available at
10  //      http://www.eclipse.org/legal/epl-v10.html
11  //
12  //      The Apache License v2.0 is available at
13  //      http://www.opensource.org/licenses/apache2.0.php
14  //
15  //  You may elect to redistribute this code under either of these licenses.
16  //  ========================================================================
17  //
18  
19  package org.eclipse.jetty.fcgi.client.http;
20  
21  import java.nio.ByteBuffer;
22  
23  import org.eclipse.jetty.client.HttpChannel;
24  import org.eclipse.jetty.client.HttpExchange;
25  import org.eclipse.jetty.client.HttpReceiver;
26  import org.eclipse.jetty.http.HttpField;
27  import org.eclipse.jetty.util.Callback;
28  
29  public class HttpReceiverOverFCGI extends HttpReceiver
30  {
31      public HttpReceiverOverFCGI(HttpChannel channel)
32      {
33          super(channel);
34      }
35  
36      @Override
37      protected boolean responseBegin(HttpExchange exchange)
38      {
39          return super.responseBegin(exchange);
40      }
41  
42      @Override
43      protected boolean responseHeader(HttpExchange exchange, HttpField field)
44      {
45          return super.responseHeader(exchange, field);
46      }
47  
48      @Override
49      protected boolean responseHeaders(HttpExchange exchange)
50      {
51          return super.responseHeaders(exchange);
52      }
53  
54      @Override
55      protected boolean responseContent(HttpExchange exchange, ByteBuffer buffer, Callback callback)
56      {
57          return super.responseContent(exchange, buffer, callback);
58      }
59  
60      @Override
61      protected boolean responseSuccess(HttpExchange exchange)
62      {
63          return super.responseSuccess(exchange);
64      }
65  
66      @Override
67      protected boolean responseFailure(Throwable failure)
68      {
69          return super.responseFailure(failure);
70      }
71  }