public class SSETransport extends StreamTransport
Transport implementationcharSet, closed, connectOperationFuture, decoders, errorHandled, functions, isBinary, options, protocolEnabled, request, requestBuilder, resolver, status, underlyingFuture| Constructor and Description |
|---|
SSETransport(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) |
close, connectedFuture, error, errorHandled, future, onCompleted, onStatusReceived, onThrowable, registerF, status, whiteSpacepublic SSETransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
List<FunctionWrapper> functions)
public Request.TRANSPORT name()
name in interface Transportname in class StreamTransportpublic 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 onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart)
throws Exception
onBodyPartReceived in interface com.ning.http.client.AsyncHandler<String>onBodyPartReceived in class StreamTransportExceptionCopyright © 2013. All Rights Reserved.