public class StreamBodyConsumerFactory extends Object
BodyConsumer to support the stream batch ingest endpoint.| Constructor and Description |
|---|
StreamBodyConsumerFactory() |
| Modifier and Type | Method and Description |
|---|---|
co.cask.http.BodyConsumer |
create(org.jboss.netty.handler.codec.http.HttpRequest request,
ContentWriterFactory contentWriterFactory)
Creates a
BodyConsumer to handle the given batch request. |
public co.cask.http.BodyConsumer create(org.jboss.netty.handler.codec.http.HttpRequest request,
ContentWriterFactory contentWriterFactory)
throws UnsupportedOperationException
BodyConsumer to handle the given batch request.UnsupportedOperationException - if no BodyConsumer can supports the given request content typeCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.