Packages

trait VertxServer extends ScalaVerticle

This is a Utility trait that simplifies the creation and management of a vertx server.

Self Type
VertxServer with Logging
Linear Supertypes
ScalaVerticle, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertxServer
  2. ScalaVerticle
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class RichHttpRequest extends AnyRef

    An implicit class to provide the HttpServerRequest with some more useful utilities.

Abstract Value Members

  1. abstract def initRouter(router: Router): Unit

    Initializes the server router for requests

    Initializes the server router for requests

    router

    the router to initialize

    Attributes
    protected
  2. abstract def serverPort: Int

    returns

    the server port

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava(): Verticle
    Definition Classes
    ScalaVerticle
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def config: JsonObject
    Definition Classes
    ScalaVerticle
  8. var ctx: Context
    Attributes
    protected
    Definition Classes
    ScalaVerticle
  9. def deploymentID: String
    Definition Classes
    ScalaVerticle
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit var executionContext: VertxExecutionContext
    Attributes
    protected
    Definition Classes
    ScalaVerticle
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getRequestParameter(paramName: String)(implicit routingContext: RoutingContext): Option[String]

    routingContext

    the routing context on which to extract

    returns

    the extracted room name

    Attributes
    protected
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def init(vertx: Vertx, context: Context, verticle: AbstractVerticle): Unit
    Definition Classes
    ScalaVerticle
  18. def initServer: Future[_]

    Initializes the server

    Initializes the server

    returns

    the future that completes when the server is initialized

    Attributes
    protected
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def processArgs: Buffer[String]
    Definition Classes
    ScalaVerticle
  24. def request(implicit routingContext: RoutingContext): HttpServerRequest

    Utility method to obtain the request object

    Utility method to obtain the request object

    routingContext

    the implicit routing context

    returns

    the request

    Attributes
    protected
  25. def response(implicit routingContext: RoutingContext): HttpServerResponse

    Utility method to obtain the response object

    Utility method to obtain the response object

    routingContext

    the implicit routing context

    returns

    the response

    Attributes
    protected
  26. def sendResponse(httpCode: Int, message: Option[String] = None)(implicit routingContext: RoutingContext): Unit

    Utility method to send back responses

    Utility method to send back responses

    httpCode

    the http code

    message

    the message to send back

    routingContext

    the routing context in which to send the error

    Attributes
    protected
  27. val server: HttpServer
    Attributes
    protected
  28. def start(): Unit
    Definition Classes
    ScalaVerticle
  29. def startFuture(): Future[_]
    Definition Classes
    VertxServer → ScalaVerticle
  30. def stop(): Unit
    Definition Classes
    ScalaVerticle
  31. def stopFuture(): Future[_]
    Definition Classes
    ScalaVerticle
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. var vertx: Vertx
    Attributes
    protected
    Definition Classes
    ScalaVerticle
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ScalaVerticle

Inherited from AnyRef

Inherited from Any

Ungrouped