@SingletonDefault(implFor=IOService.class) public class IOServiceDefault extends AbstractIOService<URLConnection>
| Modifier and Type | Class and Description |
|---|---|
class |
IOServiceDefault.IORequestDefault |
AbstractIOService.AbstractIORequestcancelled, deserializers, serializers| Constructor and Description |
|---|
IOServiceDefault() |
| Modifier and Type | Method and Description |
|---|---|
protected IOServiceDefault.IORequestDefault |
createRequest() |
protected String |
drainInput(InputStream in,
IOCallback<IOMessage<String>> callback) |
IORequest<String> |
get(String uri,
StringDictionary<String> headers,
IOCallback<IOMessage<String>> callback) |
IORequest<String> |
post(String uri,
String body,
StringDictionary<String> headers,
IOCallback<IOMessage<String>> callback) |
protected void |
sendRequest(URLConnection connect,
IOServiceDefault.IORequestDefault request,
IOCallback<IOMessage<String>> callback,
String url,
StringDictionary<String> headers,
String body) |
applySettings, createRequestBuilder, delete, logLevel, normalize, put, registerParser, request, toUrl, uriBasepublic IORequest<String> get(String uri, StringDictionary<String> headers, IOCallback<IOMessage<String>> callback)
public IORequest<String> post(String uri, String body, StringDictionary<String> headers, IOCallback<IOMessage<String>> callback)
protected void sendRequest(URLConnection connect, IOServiceDefault.IORequestDefault request, IOCallback<IOMessage<String>> callback, String url, StringDictionary<String> headers, String body)
protected IOServiceDefault.IORequestDefault createRequest()
protected String drainInput(InputStream in, IOCallback<IOMessage<String>> callback) throws IOException
IOExceptionCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.