Class JettyHttpServerFactory
java.lang.Object
org.apache.camel.component.avro.spi.JettyHttpServerFactory
- All Implemented Interfaces:
org.apache.camel.component.avro.spi.AvroRpcHttpServerFactory
@JdkService("avro-rpc-http-server-factory")
public class JettyHttpServerFactory
extends Object
implements org.apache.camel.component.avro.spi.AvroRpcHttpServerFactory
Default implementation of Avro via http, which is based on Jetty http server. For more details see dependency
org.apache.avro:avro-ipc-jetty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.ipc.Servercreate(org.apache.avro.ipc.specific.SpecificResponder responder, int port)
-
Constructor Details
-
JettyHttpServerFactory
public JettyHttpServerFactory()
-
-
Method Details
-
create
public org.apache.avro.ipc.Server create(org.apache.avro.ipc.specific.SpecificResponder responder, int port) throws IOException - Specified by:
createin interfaceorg.apache.camel.component.avro.spi.AvroRpcHttpServerFactory- Throws:
IOException
-