| Package | Description |
|---|---|
| com.phloc.commons.io.resource | |
| com.phloc.commons.mutable | |
| com.phloc.commons.url |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
URLResource.getInputStream(int nConnectTimeoutMS,
int nReadTimeoutMS,
INonThrowingRunnableWithParameter<URLConnection> aConnectionModifier,
IWrapper<IOException> aExceptionHolder) |
InputStream |
URLResource.getInputStream(int nConnectTimeoutMS,
int nReadTimeoutMS,
IWrapper<IOException> aExceptionHolder) |
InputStream |
URLResource.getInputStream(IWrapper<IOException> aExceptionHolder) |
| Modifier and Type | Class and Description |
|---|---|
class |
Wrapper<DATATYPE>
This is a stupid wrapper around any object.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
URLUtils.getInputStream(URL aURL,
int nConnectTimeoutMS,
int nReadTimeoutMS,
INonThrowingRunnableWithParameter<URLConnection> aConnectionModifier,
IWrapper<IOException> aExceptionHolder)
Get an input stream from the specified URL.
|
static InputStream |
URLUtils.postAndGetInputStream(URL aURL,
int nConnectTimeoutMS,
int nReadTimeoutMS,
IMimeType aContentType,
byte[] aContentBytes,
Map<String,String> aAdditionalHTTPHeaders,
INonThrowingRunnableWithParameter<URLConnection> aConnectionModifier,
IWrapper<IOException> aExceptionHolder)
POST something to a URL.
|
Copyright © 2006–2014 phloc systems. All rights reserved.