Class VertxJaxrsServer
java.lang.Object
org.jboss.resteasy.plugins.server.vertx.VertxJaxrsServer
- All Implemented Interfaces:
EmbeddedJaxrsServer<VertxJaxrsServer>
,EmbeddedServer
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected VertxResteasyDeployment
protected SecurityDomain
protected String
protected io.vertx.core.http.HttpServerOptions
protected io.vertx.core.Vertx
protected io.vertx.core.VertxOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeploy()
Returns the deployment being used for the server.int
getPort()
io.vertx.core.http.HttpServerOptions
io.vertx.core.VertxOptions
setDeployment
(ResteasyDeployment deployment) setHostname
(String hostname) setPort
(int port) setRootResourcePath
(String rootResourcePath) setServerOptions
(io.vertx.core.http.HttpServerOptions options) SetHttpServerOptions
.setVertxOptions
(io.vertx.core.VertxOptions options) SetVertxOptions
.start()
void
stop()
Stops the server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer
start
-
Field Details
-
vertxOptions
protected io.vertx.core.VertxOptions vertxOptions -
vertx
protected io.vertx.core.Vertx vertx -
serverOptions
protected io.vertx.core.http.HttpServerOptions serverOptions -
deployment
-
root
-
domain
-
-
Constructor Details
-
VertxJaxrsServer
public VertxJaxrsServer()
-
-
Method Details
-
deploy
- Specified by:
deploy
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
start
- Specified by:
start
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
stop
public void stop()Description copied from interface:EmbeddedServer
Stops the server.- Specified by:
stop
in interfaceEmbeddedServer
-
getDeployment
Description copied from interface:EmbeddedServer
Returns the deployment being used for the server.- Specified by:
getDeployment
in interfaceEmbeddedServer
- Returns:
- the deployment
-
setDeployment
- Specified by:
setDeployment
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setPort
- Specified by:
setPort
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getPort
public int getPort() -
setHostname
- Specified by:
setHostname
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getHostname
-
setRootResourcePath
- Specified by:
setRootResourcePath
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setSecurityDomain
- Specified by:
setSecurityDomain
in interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getVertxOptions
public io.vertx.core.VertxOptions getVertxOptions() -
setVertxOptions
SetVertxOptions
.- Parameters:
options
- theVertxOptions
.- See Also:
-
setServerOptions
SetHttpServerOptions
.- Parameters:
options
- theHttpServerOptions
.- See Also:
-
getServerOptions
public io.vertx.core.http.HttpServerOptions getServerOptions()
-