1 // ======================================================================== 2 // Copyright (c) 2010-2011 Mort Bay Consulting Pty. Ltd. 3 // ------------------------------------------------------------------------ 4 // All rights reserved. This program and the accompanying materials 5 // are made available under the terms of the Eclipse Public License v1.0 6 // and Apache License v2.0 which accompanies this distribution. 7 // The Eclipse Public License is available at 8 // http://www.eclipse.org/legal/epl-v10.html 9 // The Apache License v2.0 is available at 10 // http://www.opensource.org/licenses/apache2.0.php 11 // You may elect to redistribute this code under either of these licenses. 12 // ======================================================================== 13 package org.eclipse.jetty.nested; 14 15 import java.io.IOException; 16 17 import javax.servlet.http.HttpServletRequest; 18 19 import org.eclipse.jetty.http.Parser; 20 21 public class NestedParser implements Parser 22 { 23 24 public NestedParser() 25 { 26 } 27 28 public void reset() 29 { 30 } 31 32 public void returnBuffers() 33 { 34 } 35 36 public boolean isComplete() 37 { 38 return false; 39 } 40 41 public int parseAvailable() throws IOException 42 { 43 return 0; 44 } 45 46 public boolean isMoreInBuffer() throws IOException 47 { 48 return false; 49 } 50 51 public boolean isIdle() 52 { 53 return false; 54 } 55 56 }