@Consumes(value={"application/x-json-stream","application/json"}) @Singleton @Internal public class JsonHttpContentSubscriberFactory extends java.lang.Object implements HttpContentSubscriberFactory
Subscriber for JSON requests.| Constructor and Description | 
|---|
| JsonHttpContentSubscriberFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                HttpServerConfiguration httpServerConfiguration,
                                com.fasterxml.jackson.core.JsonFactory jsonFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpContentProcessor | build(NettyHttpRequest request)Build a  Subscriberfor the given request. | 
public JsonHttpContentSubscriberFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                        HttpServerConfiguration httpServerConfiguration,
                                        @Nullable
                                        com.fasterxml.jackson.core.JsonFactory jsonFactory)
objectMapper - The jackson object mapper.httpServerConfiguration - The Http server configurationjsonFactory - The json factorypublic HttpContentProcessor build(NettyHttpRequest request)
HttpContentSubscriberFactorySubscriber for the given request.build in interface HttpContentSubscriberFactoryrequest - The request