Class HttpInputStreamUtil.Result
java.lang.Object
org.apache.logging.log4j.core.util.internal.HttpInputStreamUtil.Result
- Enclosing class:
HttpInputStreamUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable InputStreamReturns the data if the status isStatus.SUCCESS.
-
Field Details
-
bytes
private byte @Nullable [] bytes -
status
-
-
Constructor Details
-
Result
public Result() -
Result
-
-
Method Details
-
getInputStream
Returns the data if the status isStatus.SUCCESS.In any other case the result is
null.- Returns:
- The contents of the HTTP response or null if empty.
-
getStatus
-