@Consumes(value={"application/x-json-stream","application/json"}) @Singleton @Internal public class JsonHttpContentSubscriberFactory extends Object implements HttpContentSubscriberFactory
Subscriber for JSON requests.| Constructor and Description | 
|---|
| JsonHttpContentSubscriberFactory(JsonMapper jsonMapper,
                                HttpServerConfiguration httpServerConfiguration) | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpContentProcessor | build(NettyHttpRequest request)Build a  Subscriberfor the given request. | 
public JsonHttpContentSubscriberFactory(JsonMapper jsonMapper, HttpServerConfiguration httpServerConfiguration)
jsonMapper - The object codec to use configuration fromhttpServerConfiguration - The Http server configurationpublic HttpContentProcessor build(NettyHttpRequest request)
HttpContentSubscriberFactorySubscriber for the given request.build in interface HttpContentSubscriberFactoryrequest - The request