Class VertxJaxrsServer
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.vertx.VertxJaxrsServer
-
- All Implemented Interfaces:
EmbeddedJaxrsServer<VertxJaxrsServer>
public class VertxJaxrsServer extends Object implements EmbeddedJaxrsServer<VertxJaxrsServer>
An HTTP server that sends back the content of the received HTTP request in a pretty plaintext form.- Version:
- $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
- Author:
- Andy Taylor (andy.taylor@jboss.org), Trustin Lee, Norman Maurer, Julien Viet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertxJaxrsServer.Verticle
-
Field Summary
Fields Modifier and Type Field Description protected VertxResteasyDeploymentdeploymentprotected SecurityDomaindomainprotected Stringrootprotected io.vertx.core.http.HttpServerOptionsserverOptionsprotected io.vertx.core.Vertxvertxprotected io.vertx.core.VertxOptionsvertxOptions
-
Constructor Summary
Constructors Constructor Description VertxJaxrsServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertxJaxrsServerdeploy()ResteasyDeploymentgetDeployment()StringgetHostname()intgetPort()io.vertx.core.http.HttpServerOptionsgetServerOptions()io.vertx.core.VertxOptionsgetVertxOptions()VertxJaxrsServersetDeployment(ResteasyDeployment deployment)VertxJaxrsServersetHostname(String hostname)VertxJaxrsServersetPort(int port)VertxJaxrsServersetRootResourcePath(String rootResourcePath)VertxJaxrsServersetSecurityDomain(SecurityDomain sc)VertxJaxrsServersetServerOptions(io.vertx.core.http.HttpServerOptions options)SetHttpServerOptions.VertxJaxrsServersetVertxOptions(io.vertx.core.VertxOptions options)SetVertxOptions.VertxJaxrsServerstart()voidstop()
-
-
-
Field Detail
-
vertxOptions
protected io.vertx.core.VertxOptions vertxOptions
-
vertx
protected io.vertx.core.Vertx vertx
-
serverOptions
protected io.vertx.core.http.HttpServerOptions serverOptions
-
deployment
protected VertxResteasyDeployment deployment
-
root
protected String root
-
domain
protected SecurityDomain domain
-
-
Method Detail
-
deploy
public VertxJaxrsServer deploy()
- Specified by:
deployin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
start
public VertxJaxrsServer start()
- Specified by:
startin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
stop
public void stop()
- Specified by:
stopin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getDeployment
public ResteasyDeployment getDeployment()
- Specified by:
getDeploymentin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setDeployment
public VertxJaxrsServer setDeployment(ResteasyDeployment deployment)
- Specified by:
setDeploymentin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setPort
public VertxJaxrsServer setPort(int port)
- Specified by:
setPortin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getPort
public int getPort()
-
setHostname
public VertxJaxrsServer setHostname(String hostname)
- Specified by:
setHostnamein interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getHostname
public String getHostname()
-
setRootResourcePath
public VertxJaxrsServer setRootResourcePath(String rootResourcePath)
- Specified by:
setRootResourcePathin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setSecurityDomain
public VertxJaxrsServer setSecurityDomain(SecurityDomain sc)
- Specified by:
setSecurityDomainin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getVertxOptions
public io.vertx.core.VertxOptions getVertxOptions()
-
setVertxOptions
public VertxJaxrsServer setVertxOptions(io.vertx.core.VertxOptions options)
SetVertxOptions.- Parameters:
options- theVertxOptions.- See Also:
Vertx.vertx(VertxOptions)
-
setServerOptions
public VertxJaxrsServer setServerOptions(io.vertx.core.http.HttpServerOptions options)
SetHttpServerOptions.- Parameters:
options- theHttpServerOptions.- See Also:
Vertx.createHttpServer(HttpServerOptions)
-
getServerOptions
public io.vertx.core.http.HttpServerOptions getServerOptions()
-
-