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:
Closeable
,AutoCloseable
@Deprecated public class ReadLineInputStream extends 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(InputStream in)
Deprecated.ReadLineInputStream(InputStream in, int size)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EnumSet<ReadLineInputStream.Termination>
getLineTerminations()
Deprecated.int
read()
Deprecated.int
read(byte[] buf, int off, int len)
Deprecated.String
readLine()
Deprecated.-
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, reset, skip
-
Methods inherited from class java.io.FilterInputStream
read
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
ReadLineInputStream
public ReadLineInputStream(InputStream in)
Deprecated.
-
ReadLineInputStream
public ReadLineInputStream(InputStream in, int size)
Deprecated.
-
-
Method Detail
-
getLineTerminations
public EnumSet<ReadLineInputStream.Termination> getLineTerminations()
Deprecated.
-
readLine
public String readLine() throws IOException
Deprecated.- Throws:
IOException
-
read
public int read() throws IOException
Deprecated.- Overrides:
read
in classBufferedInputStream
- Throws:
IOException
-
read
public int read(byte[] buf, int off, int len) throws IOException
Deprecated.- Overrides:
read
in classBufferedInputStream
- Throws:
IOException
-
-