Package de.linusdev.lutils.http
Class HTTPRequestReader
java.lang.Object
de.linusdev.lutils.http.HTTPRequestReader
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassReader that can read lines. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()@NotNull InputStream@NotNull HTTPRequestReader.LineReaderintread()untested!@NotNull HTTPRequestReader.CharRetreadChar()
-
Constructor Details
-
HTTPRequestReader
-
-
Method Details
-
read
untested!- Returns:
- next byte or -1 if no more bytes can be read
- Throws:
IOException- if occurred while reading
-
readChar
- Throws:
IOException
-
getLineReader
-
getInputStreamForRemaining
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-