Package org.eclipse.jetty.util
Class ReadLineInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.BufferedInputStream
-
- org.eclipse.jetty.util.ReadLineInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
@Deprecated public class ReadLineInputStream extends java.io.BufferedInputStreamDeprecated.ReadLineInputStream Read from an input stream, accepting CR/LF, LF or just CR.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReadLineInputStream.TerminationDeprecated.
-
Constructor Summary
Constructors Constructor Description ReadLineInputStream(java.io.InputStream in)Deprecated.ReadLineInputStream(java.io.InputStream in, int size)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.EnumSet<ReadLineInputStream.Termination>getLineTerminations()Deprecated.intread()Deprecated.intread(byte[] buf, int off, int len)Deprecated.java.lang.StringreadLine()Deprecated.-
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, reset, skip
-
-
-
-
Method Detail
-
getLineTerminations
public java.util.EnumSet<ReadLineInputStream.Termination> getLineTerminations()
Deprecated.
-
readLine
public java.lang.String readLine() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.BufferedInputStream- Throws:
java.io.IOException
-
read
public int read(byte[] buf, int off, int len) throws java.io.IOExceptionDeprecated.- Overrides:
readin classjava.io.BufferedInputStream- Throws:
java.io.IOException
-
-