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.BufferedInputStream
Deprecated.ReadLineInputStream Read from an input stream, accepting CR/LF, LF or just CR.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadLineInputStream.Termination
Deprecated.
-
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.int
read()
Deprecated.int
read(byte[] buf, int off, int len)
Deprecated.java.lang.String
readLine()
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.IOException
Deprecated.- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
Deprecated.- Overrides:
read
in classjava.io.BufferedInputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] buf, int off, int len) throws java.io.IOException
Deprecated.- Overrides:
read
in classjava.io.BufferedInputStream
- Throws:
java.io.IOException
-
-