Package io.micronaut.xml.jackson.server
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 Summary
ConstructorDescriptionXmlHttpContentSubscriberFactory
(io.micronaut.http.server.netty.configuration.NettyHttpServerConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.http.server.netty.HttpContentProcessor
build
(io.micronaut.http.server.netty.NettyHttpRequest request)
-
Constructor Details
-
XmlHttpContentSubscriberFactory
public XmlHttpContentSubscriberFactory(io.micronaut.http.server.netty.configuration.NettyHttpServerConfiguration configuration) - Parameters:
configuration
- TheNettyHttpServerConfiguration
-
-
Method Details
-
build
public io.micronaut.http.server.netty.HttpContentProcessor build(io.micronaut.http.server.netty.NettyHttpRequest request) - Specified by:
build
in interfaceio.micronaut.http.server.netty.HttpContentSubscriberFactory
-