public class SSETransport extends StreamTransport
Transport implementationcharSet, closed, connectOperationFuture, decoders, errorHandled, functions, isBinary, options, protocolEnabled, protocolReceived, request, requestBuilder, resolver, status, timer, underlyingFuture| Constructor and Description |
|---|
SSETransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
java.util.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, statuspublic SSETransport(com.ning.http.client.RequestBuilder requestBuilder,
Options options,
Request request,
java.util.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 java.lang.Exception
onHeadersReceived in interface com.ning.http.client.AsyncHandler<java.lang.String>onHeadersReceived in class StreamTransportjava.lang.Exceptionpublic com.ning.http.client.AsyncHandler.STATE onBodyPartReceived(com.ning.http.client.HttpResponseBodyPart bodyPart)
throws java.lang.Exception
onBodyPartReceived in interface com.ning.http.client.AsyncHandler<java.lang.String>onBodyPartReceived in class StreamTransportjava.lang.ExceptionCopyright © 2019. All Rights Reserved.