vertx-web-common-scala_2.12 3.8.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package web
  Definition Classes
    ext
-  package codec
  Definition Classes
    web
-  package common
  Definition Classes
    web
-  package template
- WebEnvironment
-  package multipart
  Definition Classes
    web

p

io.vertx.scala.ext.web

# common 

#### package common

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  class WebEnvironment extends AnyRef

   Utility API to verify which environment is the web application running.

   Utility API to verify which environment is the web application running.

   The utility will check initially for the existence of a system property under the name `vertx.mode`, if there is no such property then it will look under the environment variables under the name `VERTX_MODE`.

   This value will be then used when the API is invoked. By itself this utility will not affect the behavior of your application, however you can use it to simplify your handlers, e.g.:

   When the development mode is active you can log more information or disable caches.

### Value Members

1.  object WebEnvironment

### Ungrouped