Example #1
0
 @Nullable
 public InputStream getInputStream(
     final int nConnectTimeoutMS,
     final int nReadTimeoutMS,
     @Nullable final INonThrowingRunnableWithParameter<URLConnection> aConnectionModifier,
     @Nullable final IWrapper<IOException> aExceptionHolder) {
   return URLUtils.getInputStream(
       m_aURL, nConnectTimeoutMS, nReadTimeoutMS, aConnectionModifier, aExceptionHolder);
 }
Example #2
0
 @Nullable
 public static InputStream getInputStream(@Nonnull final URL aURL) {
   return URLUtils.getInputStream(
       aURL, DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT, null, (IWrapper<IOException>) null);
 }