Class HttpInputStreamUtil
- java.lang.Object
-
- org.apache.logging.log4j.core.util.internal.HttpInputStreamUtil
-
public final class HttpInputStreamUtil extends Object
Utility method for reading data from an HTTP InputStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpInputStreamUtil.Result
-
Constructor Summary
Constructors Constructor Description HttpInputStreamUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpInputStreamUtil.Result
getInputStream(LastModifiedSource source, AuthorizationProvider authorizationProvider)
static byte[]
readStream(InputStream is)
-
-
-
Method Detail
-
getInputStream
public static HttpInputStreamUtil.Result getInputStream(LastModifiedSource source, AuthorizationProvider authorizationProvider)
-
readStream
public static byte[] readStream(InputStream is) throws IOException
- Throws:
IOException
-
-