public class VertxJaxrsServer extends Object implements EmbeddedJaxrsServer
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 |
---|---|
VertxResteasyDeployment |
getDeployment() |
String |
getHostname() |
int |
getPort() |
io.vertx.core.http.HttpServerOptions |
getServerOptions() |
io.vertx.core.VertxOptions |
getVertxOptions() |
void |
setDeployment(ResteasyDeployment deployment) |
void |
setHostname(String hostname) |
void |
setPort(int port) |
void |
setRootResourcePath(String rootResourcePath) |
void |
setSecurityDomain(SecurityDomain sc) |
void |
setServerOptions(io.vertx.core.http.HttpServerOptions options)
Set
HttpServerOptions . |
void |
setVertxOptions(io.vertx.core.VertxOptions options)
Set
VertxOptions . |
void |
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 String getHostname()
public void setHostname(String hostname)
public int getPort()
public void setPort(int port)
public io.vertx.core.VertxOptions getVertxOptions()
public void setVertxOptions(io.vertx.core.VertxOptions options)
VertxOptions
.options
- the VertxOptions
.Vertx.vertx(VertxOptions)
public void setServerOptions(io.vertx.core.http.HttpServerOptions options)
HttpServerOptions
.options
- the HttpServerOptions
.Vertx.createHttpServer(HttpServerOptions)
public io.vertx.core.http.HttpServerOptions getServerOptions()
public void setDeployment(ResteasyDeployment deployment)
setDeployment
in interface EmbeddedJaxrsServer
public void setRootResourcePath(String rootResourcePath)
setRootResourcePath
in interface EmbeddedJaxrsServer
public VertxResteasyDeployment getDeployment()
getDeployment
in interface EmbeddedJaxrsServer
public void setSecurityDomain(SecurityDomain sc)
setSecurityDomain
in interface EmbeddedJaxrsServer
public void start()
start
in interface EmbeddedJaxrsServer
public void stop()
stop
in interface EmbeddedJaxrsServer
Copyright © 2019 JBoss by Red Hat. All rights reserved.