Class XmlHttpContentSubscriberFactory

java.lang.Object
io.micronaut.xml.jackson.server.XmlHttpContentSubscriberFactory
All Implemented Interfaces:
io.micronaut.http.server.netty.HttpContentSubscriberFactory

@Consumes({"application/xml","application/xhtml+xml","text/xml"}) @Singleton @Requires(classes=io.micronaut.http.server.netty.HttpContentSubscriberFactory.class) public class XmlHttpContentSubscriberFactory extends Object implements io.micronaut.http.server.netty.HttpContentSubscriberFactory
Builds the Subscriber for XML requests.
Since:
1.0.0
Author:
Sergey Vishnyakov
  • Constructor Details

    • XmlHttpContentSubscriberFactory

      public XmlHttpContentSubscriberFactory(io.micronaut.http.server.netty.configuration.NettyHttpServerConfiguration configuration)
      Parameters:
      configuration - The NettyHttpServerConfiguration
  • Method Details

    • build

      public io.micronaut.http.server.netty.HttpContentProcessor build(io.micronaut.http.server.netty.NettyHttpRequest request)
      Specified by:
      build in interface io.micronaut.http.server.netty.HttpContentSubscriberFactory