public class WebEnvironment extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<WebEnvironment> |
__TYPE_ARG |
static String |
ENV_VARIABLE_NAME |
static String |
SYSTEM_PROPERTY_NAME |
Constructor and Description |
---|
WebEnvironment(Object delegate) |
WebEnvironment(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) |
WebEnvironment |
getDelegate() |
int |
hashCode() |
static String |
mode()
The current mode from the system properties with fallback to environment variables
|
static WebEnvironment |
newInstance(WebEnvironment arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<WebEnvironment> __TYPE_ARG
public static final String SYSTEM_PROPERTY_NAME
public static final String ENV_VARIABLE_NAME
public WebEnvironment(WebEnvironment delegate)
public WebEnvironment(Object delegate)
public WebEnvironment getDelegate()
public static boolean development()
public static String mode()
public static WebEnvironment newInstance(WebEnvironment arg)
Copyright © 2024 Eclipse. All rights reserved.