Class VertxJaxrsServer

java.lang.Object
org.jboss.resteasy.plugins.server.vertx.VertxJaxrsServer
All Implemented Interfaces:
org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>, org.jboss.resteasy.plugins.server.embedded.EmbeddedServer

public class VertxJaxrsServer extends Object implements org.jboss.resteasy.plugins.server.embedded.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
  • 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

      protected VertxResteasyDeployment deployment
    • root

      protected String root
    • domain

      protected org.jboss.resteasy.plugins.server.embedded.SecurityDomain domain
  • Constructor Details

    • VertxJaxrsServer

      public VertxJaxrsServer()
  • Method Details

    • deploy

      public VertxJaxrsServer deploy()
      Specified by:
      deploy in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • start

      public VertxJaxrsServer start()
      Specified by:
      start in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • stop

      public void stop()
      Specified by:
      stop in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedServer
    • getDeployment

      public ResteasyDeployment getDeployment()
      Specified by:
      getDeployment in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedServer
    • setDeployment

      public VertxJaxrsServer setDeployment(ResteasyDeployment deployment)
      Specified by:
      setDeployment in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • setPort

      public VertxJaxrsServer setPort(int port)
      Specified by:
      setPort in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • getPort

      public int getPort()
    • setHostname

      public VertxJaxrsServer setHostname(String hostname)
      Specified by:
      setHostname in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • getHostname

      public String getHostname()
    • setRootResourcePath

      public VertxJaxrsServer setRootResourcePath(String rootResourcePath)
      Specified by:
      setRootResourcePath in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • setSecurityDomain

      public VertxJaxrsServer setSecurityDomain(org.jboss.resteasy.plugins.server.embedded.SecurityDomain sc)
      Specified by:
      setSecurityDomain in interface org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>
    • getVertxOptions

      public io.vertx.core.VertxOptions getVertxOptions()
    • setVertxOptions

      public VertxJaxrsServer setVertxOptions(io.vertx.core.VertxOptions options)
      Set VertxOptions.
      Parameters:
      options - the VertxOptions.
      See Also:
      • Vertx.vertx(VertxOptions)
    • setServerOptions

      public VertxJaxrsServer setServerOptions(io.vertx.core.http.HttpServerOptions options)
      Set HttpServerOptions.
      Parameters:
      options - the HttpServerOptions.
      See Also:
      • Vertx.createHttpServer(HttpServerOptions)
    • getServerOptions

      public io.vertx.core.http.HttpServerOptions getServerOptions()