public class WebEnvironment extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<WebEnvironment> |
__TYPE_ARG |
static String |
ENV_VARIABLE_NAME |
static String |
SYSTEM_PROPERTY_NAME |
Constructor and Description |
---|
WebEnvironment(Object delegate) |
WebEnvironment(io.vertx.ext.web.common.WebEnvironment delegate) |
Modifier and Type | Method and Description |
---|---|
static boolean |
development()
Will return true if the mode is not null and equals ignoring case the string "dev"
|
boolean |
equals(Object o) |
io.vertx.ext.web.common.WebEnvironment |
getDelegate() |
int |
hashCode() |
static String |
mode()
The current mode from the system properties with fallback to environment variables
|
static WebEnvironment |
newInstance(io.vertx.ext.web.common.WebEnvironment arg) |
String |
toString() |
public static final TypeArg<WebEnvironment> __TYPE_ARG
public static final String SYSTEM_PROPERTY_NAME
public static final String ENV_VARIABLE_NAME
public WebEnvironment(io.vertx.ext.web.common.WebEnvironment delegate)
public WebEnvironment(Object delegate)
public io.vertx.ext.web.common.WebEnvironment getDelegate()
public static boolean development()
public static String mode()
public static WebEnvironment newInstance(io.vertx.ext.web.common.WebEnvironment arg)
Copyright © 2021 Eclipse. All rights reserved.