Class VertxJaxrsServer

  • All Implemented Interfaces:
    org.jboss.resteasy.plugins.server.embedded.EmbeddedJaxrsServer<VertxJaxrsServer>

    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 Detail

      • vertxOptions

        protected io.vertx.core.VertxOptions vertxOptions
      • vertx

        protected io.vertx.core.Vertx vertx
      • serverOptions

        protected io.vertx.core.http.HttpServerOptions serverOptions
      • domain

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

      • VertxJaxrsServer

        public VertxJaxrsServer()
    • Method Detail

      • deploy

        public VertxJaxrsServer deploy()
        Specified by:
        deploy 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.EmbeddedJaxrsServer<VertxJaxrsServer>
      • getDeployment

        public ResteasyDeployment getDeployment()
        Specified by:
        getDeployment 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()