public class MapConfigContext extends Object implements ConfigContext
ConfigContext implementation that is used for configuring instances
from a Map.| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALL_PROPERTIES
List of all properties that we read from configuration.
|
static String |
APPLICATION_PACKAGE_PROP_KEY
System property key that maps a package to an application.
|
static String |
CONNECT_TIMEOUT
System property key identifying the connect timeout
|
static String |
DISPLAY_FEEDBACK_FORM_KEY
System property key indicating if we display the feedback form.
|
static String |
ENVIRONMENT_KEY
System property key identifying the runtime environment.
|
static String |
FEEDBACK_FORM_TEMPLATE_PATH_KEY
System property key indicating the path to the feedback form template.
|
static String |
HONEYBADGER_API_KEY
System property key identifying the Honeybadger API key to use.
|
static String |
HONEYBADGER_API_KEY_ENV
System property key identifying the Honeybadger API key to use.
|
static String |
HONEYBADGER_EXCLUDED_CLASSES_KEY
CSV list of exception classes to ignore.
|
static String |
HONEYBADGER_EXCLUDED_PARAMS_KEY
CSV list of parameters to not include.
|
static String |
HONEYBADGER_EXCLUDED_PROPS_KEY
CSV list of system properties to not include.
|
static String |
HONEYBADGER_MAXIMUM_ERROR_REPORTING_RETRIES_KEY
System property key indicating the maximum number of attempts to submit an error.
|
static String |
HONEYBADGER_URL_KEY
System property key identifying the Honeybadger URL to use.
|
static String |
HTTP_PROXY_HOST_KEY
System property key indicating the proxy server.
|
static String |
HTTP_PROXY_PORT_KEY
System property key indicating the proxy port.
|
static String |
JAVA_ENVIRONMENT_KEY
System property key identifying the runtime environment.
|
static String |
READ_API_KEY_ENV
Environment variable identifying the Honeybadger Read API key.
|
static String |
READ_API_KEY_PROP_KEY
System property key identifying the Honeybadger Read API key.
|
static String |
SOCKET_TIMEOUT
System property key identifying the socket timeout
|
| Constructor and Description |
|---|
MapConfigContext(Map<?,?> backingMap) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
String |
getApplicationPackage() |
Integer |
getConnectTimeout() |
String |
getEnvironment() |
Set<String> |
getExcludedClasses() |
Set<String> |
getExcludedParams() |
Set<String> |
getExcludedSysProps() |
String |
getFeedbackFormPath() |
String |
getHoneybadgerReadApiKey() |
URI |
getHoneybadgerUrl() |
String |
getHttpProxyHost() |
Integer |
getHttpProxyPort() |
Integer |
getMaximumErrorReportingRetries() |
Integer |
getSocketTimeout() |
Boolean |
isFeedbackFormDisplayed() |
public static final String ENVIRONMENT_KEY
public static final String JAVA_ENVIRONMENT_KEY
public static final String HONEYBADGER_URL_KEY
public static final String HONEYBADGER_API_KEY
public static final String HONEYBADGER_API_KEY_ENV
public static final String HONEYBADGER_EXCLUDED_PROPS_KEY
public static final String HONEYBADGER_EXCLUDED_PARAMS_KEY
public static final String HONEYBADGER_EXCLUDED_CLASSES_KEY
public static final String APPLICATION_PACKAGE_PROP_KEY
public static final String READ_API_KEY_PROP_KEY
public static final String READ_API_KEY_ENV
public static final String DISPLAY_FEEDBACK_FORM_KEY
public static final String FEEDBACK_FORM_TEMPLATE_PATH_KEY
public static final String HONEYBADGER_MAXIMUM_ERROR_REPORTING_RETRIES_KEY
public static final String HTTP_PROXY_HOST_KEY
public static final String HTTP_PROXY_PORT_KEY
public static final String SOCKET_TIMEOUT
public static final String CONNECT_TIMEOUT
public static final String[] ALL_PROPERTIES
public MapConfigContext(Map<?,?> backingMap)
public String getEnvironment()
getEnvironment in interface ConfigContextpublic URI getHoneybadgerUrl()
getHoneybadgerUrl in interface ConfigContextpublic String getApiKey()
getApiKey in interface ConfigContextpublic Set<String> getExcludedSysProps()
getExcludedSysProps in interface ConfigContextpublic Set<String> getExcludedParams()
getExcludedParams in interface ConfigContextpublic Set<String> getExcludedClasses()
getExcludedClasses in interface ConfigContextpublic String getApplicationPackage()
getApplicationPackage in interface ConfigContextpublic String getHoneybadgerReadApiKey()
getHoneybadgerReadApiKey in interface ConfigContextpublic Boolean isFeedbackFormDisplayed()
isFeedbackFormDisplayed in interface ConfigContextpublic String getFeedbackFormPath()
getFeedbackFormPath in interface ConfigContextpublic String getHttpProxyHost()
getHttpProxyHost in interface ConfigContextpublic Integer getHttpProxyPort()
getHttpProxyPort in interface ConfigContextpublic Integer getMaximumErrorReportingRetries()
getMaximumErrorReportingRetries in interface ConfigContextpublic Integer getSocketTimeout()
getSocketTimeout in interface ConfigContextpublic Integer getConnectTimeout()
getConnectTimeout in interface ConfigContextCopyright © 2023 Honeybadger.io. All rights reserved.