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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected VertxResteasyDeploymentprotected SecurityDomainprotected Stringprotected io.vertx.core.http.HttpServerOptionsprotected io.vertx.core.Vertxprotected io.vertx.core.VertxOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeploy()Returns the deployment being used for the server.intgetPort()io.vertx.core.http.HttpServerOptionsio.vertx.core.VertxOptionssetDeployment(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()voidstop()Stops the server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
deployin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
start
- Specified by:
startin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
stop
public void stop()Description copied from interface:EmbeddedServerStops the server.- Specified by:
stopin interfaceEmbeddedServer
-
getDeployment
Description copied from interface:EmbeddedServerReturns the deployment being used for the server.- Specified by:
getDeploymentin interfaceEmbeddedServer- Returns:
- the deployment
-
setDeployment
- Specified by:
setDeploymentin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setPort
- Specified by:
setPortin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getPort
public int getPort() -
setHostname
- Specified by:
setHostnamein interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
getHostname
-
setRootResourcePath
- Specified by:
setRootResourcePathin interfaceEmbeddedJaxrsServer<VertxJaxrsServer>
-
setSecurityDomain
- Specified by:
setSecurityDomainin 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()
-