public class VertxJaxrsServer extends Object implements EmbeddedJaxrsServer<VertxJaxrsServer>
Modifier and Type | Class and Description |
---|---|
static class |
VertxJaxrsServer.Verticle |
Modifier and Type | Field and Description |
---|---|
protected VertxResteasyDeployment |
deployment |
protected SecurityDomain |
domain |
protected String |
root |
protected io.vertx.core.http.HttpServerOptions |
serverOptions |
protected io.vertx.core.Vertx |
vertx |
protected io.vertx.core.VertxOptions |
vertxOptions |
Constructor and Description |
---|
VertxJaxrsServer() |
Modifier and Type | Method and Description |
---|---|
VertxJaxrsServer |
deploy() |
ResteasyDeployment |
getDeployment() |
String |
getHostname() |
int |
getPort() |
io.vertx.core.http.HttpServerOptions |
getServerOptions() |
io.vertx.core.VertxOptions |
getVertxOptions() |
VertxJaxrsServer |
setDeployment(ResteasyDeployment deployment) |
VertxJaxrsServer |
setHostname(String hostname) |
VertxJaxrsServer |
setPort(int port) |
VertxJaxrsServer |
setRootResourcePath(String rootResourcePath) |
VertxJaxrsServer |
setSecurityDomain(SecurityDomain sc) |
VertxJaxrsServer |
setServerOptions(io.vertx.core.http.HttpServerOptions options)
Set
HttpServerOptions . |
VertxJaxrsServer |
setVertxOptions(io.vertx.core.VertxOptions options)
Set
VertxOptions . |
VertxJaxrsServer |
start() |
void |
stop() |
protected io.vertx.core.VertxOptions vertxOptions
protected io.vertx.core.Vertx vertx
protected io.vertx.core.http.HttpServerOptions serverOptions
protected VertxResteasyDeployment deployment
protected String root
protected SecurityDomain domain
public VertxJaxrsServer deploy()
deploy
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public VertxJaxrsServer start()
start
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public void stop()
stop
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public ResteasyDeployment getDeployment()
getDeployment
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public VertxJaxrsServer setDeployment(ResteasyDeployment deployment)
setDeployment
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public VertxJaxrsServer setPort(int port)
setPort
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public int getPort()
public VertxJaxrsServer setHostname(String hostname)
setHostname
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public String getHostname()
public VertxJaxrsServer setRootResourcePath(String rootResourcePath)
setRootResourcePath
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public VertxJaxrsServer setSecurityDomain(SecurityDomain sc)
setSecurityDomain
in interface EmbeddedJaxrsServer<VertxJaxrsServer>
public io.vertx.core.VertxOptions getVertxOptions()
public VertxJaxrsServer setVertxOptions(io.vertx.core.VertxOptions options)
VertxOptions
.options
- the VertxOptions
.Vertx.vertx(VertxOptions)
public VertxJaxrsServer setServerOptions(io.vertx.core.http.HttpServerOptions options)
HttpServerOptions
.options
- the HttpServerOptions
.Vertx.createHttpServer(HttpServerOptions)
public io.vertx.core.http.HttpServerOptions getServerOptions()
Copyright © 2019 JBoss by Red Hat. All rights reserved.