public class LongPollingTransport extends StreamTransport
Transport implementationcharSet, closed, connectOperationFuture, decoders, errorHandled, functions, isBinary, options, protocolEnabled, protocolReceived, request, requestBuilder, resolver, status, timer, underlyingFuture| Constructor and Description |
|---|
LongPollingTransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions) |
| Modifier and Type | Method and Description |
|---|---|
Request.TRANSPORT |
name()
The transport name
|
com.ning.http.client.AsyncHandler.STATE |
onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart) |
com.ning.http.client.AsyncHandler.STATE |
onHeadersReceived(com.ning.http.client.HttpResponseHeaders headers) |
com.ning.http.client.AsyncHandler.STATE |
onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus) |
close, connectedFuture, error, errorHandled, future, onCompleted, onThrowable, registerF, statuspublic LongPollingTransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions)
public com.ning.http.client.AsyncHandler.STATE onHeadersReceived(com.ning.http.client.HttpResponseHeaders headers)
throws Exception
onHeadersReceived in interface com.ning.http.client.AsyncHandler<String>onHeadersReceived in class StreamTransportExceptionpublic com.ning.http.client.AsyncHandler.STATE onStatusReceived(com.ning.http.client.HttpResponseStatus responseStatus)
throws Exception
onStatusReceived in interface com.ning.http.client.AsyncHandler<String>onStatusReceived in class StreamTransportExceptionpublic com.ning.http.client.AsyncHandler.STATE onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart)
throws Exception
StreamTransportonBodyPartReceived in interface com.ning.http.client.AsyncHandler<String>onBodyPartReceived in class StreamTransportExceptionpublic Request.TRANSPORT name()
name in interface Transportname in class StreamTransportCopyright © 2016. All Rights Reserved.