Package org.apache.catalina.connector
Class CoyoteReader
- java.lang.Object
- 
- java.io.Reader
- 
- java.io.BufferedReader
- 
- org.apache.catalina.connector.CoyoteReader
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable,- java.lang.Readable
 
 public class CoyoteReader extends java.io.BufferedReaderCoyote implementation of the buffered reader.- Author:
- Remy Maucherat
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected InputBufferibprotected char[]lineBuffer
 - 
Constructor SummaryConstructors Constructor Description CoyoteReader(InputBuffer ib)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objectclone()Prevent cloning the facade.voidclose()voidmark(int readAheadLimit)booleanmarkSupported()intread()intread(char[] cbuf)intread(char[] cbuf, int off, int len)java.lang.StringreadLine()booleanready()voidreset()longskip(long n)
 
- 
- 
- 
Field Detail- 
ibprotected InputBuffer ib 
 - 
lineBufferprotected char[] lineBuffer 
 
- 
 - 
Constructor Detail- 
CoyoteReaderpublic CoyoteReader(InputBuffer ib) 
 
- 
 - 
Method Detail- 
cloneprotected java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionPrevent cloning the facade.- Overrides:
- clonein class- java.lang.Object
- Throws:
- java.lang.CloneNotSupportedException
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
readpublic int read() throws java.io.IOException- Overrides:
- readin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
readpublic int read(char[] cbuf) throws java.io.IOException- Overrides:
- readin class- java.io.Reader
- Throws:
- java.io.IOException
 
 - 
readpublic int read(char[] cbuf, int off, int len) throws java.io.IOException- Overrides:
- readin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
skippublic long skip(long n) throws java.io.IOException- Overrides:
- skipin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
readypublic boolean ready() throws java.io.IOException- Overrides:
- readyin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
markSupportedpublic boolean markSupported() - Overrides:
- markSupportedin class- java.io.BufferedReader
 
 - 
markpublic void mark(int readAheadLimit) throws java.io.IOException- Overrides:
- markin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
resetpublic void reset() throws java.io.IOException- Overrides:
- resetin class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 - 
readLinepublic java.lang.String readLine() throws java.io.IOException- Overrides:
- readLinein class- java.io.BufferedReader
- Throws:
- java.io.IOException
 
 
- 
 
-