@Consumes(value={"application/x-www-form-urlencoded","multipart/form-data"}) @Singleton public class FormDataHttpContentSubscriberFactory extends Object implements HttpContentSubscriberFactory
Subscriber
for MediaType.APPLICATION_FORM_URLENCODED
.Constructor and Description |
---|
FormDataHttpContentSubscriberFactory(NettyHttpServerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
HttpContentProcessor |
build(NettyHttpRequest request)
Build a
Subscriber for the given request. |
public FormDataHttpContentSubscriberFactory(NettyHttpServerConfiguration configuration)
configuration
- The NettyHttpServerConfiguration
public HttpContentProcessor build(NettyHttpRequest request)
HttpContentSubscriberFactory
Subscriber
for the given request.build
in interface HttpContentSubscriberFactory
request
- The request