Class JsonHttpContentSubscriberFactory

  • All Implemented Interfaces:
    HttpContentSubscriberFactory

    @Consumes({"application/x-json-stream","application/json"})
    @Singleton
    @Internal
    public class JsonHttpContentSubscriberFactory
    extends java.lang.Object
    implements HttpContentSubscriberFactory
    Builds the Subscriber for JSON requests.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonHttpContentSubscriberFactory​(io.micronaut.json.JsonMapper jsonMapper, io.micronaut.http.server.HttpServerConfiguration httpServerConfiguration)  
    • Constructor Detail

      • JsonHttpContentSubscriberFactory

        public JsonHttpContentSubscriberFactory​(io.micronaut.json.JsonMapper jsonMapper,
                                                io.micronaut.http.server.HttpServerConfiguration httpServerConfiguration)
        Parameters:
        jsonMapper - The object codec to use configuration from
        httpServerConfiguration - The Http server configuration