public class Http
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static interface |
Http.Execute<Result> |
class |
Http.Request<Result> |
| Constructor and Description |
|---|
Http(AsyncHttpScheduler asyncHttp,
SyncHttpScheduler syncHttp) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<Result> Http.Request<Result> |
failedRequest(AblyException e) |
<Result> Http.Request<Result> |
request(Http.Execute<Result> execute) |
public Http(AsyncHttpScheduler asyncHttp, SyncHttpScheduler syncHttp)
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic <Result> Http.Request<Result> request(Http.Execute<Result> execute)
public <Result> Http.Request<Result> failedRequest(AblyException e)