- getAgent() - Static method in class com.newrelic.api.agent.NewRelic
-
Returns the primary New Relic java agent api.
- getAttribute(String) - Method in interface com.newrelic.api.agent.Request
-
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
- getBrowserTimingFooter() - Static method in class com.newrelic.api.agent.NewRelic
-
Get the RUM JavaScript footer for the current web transaction.
- getBrowserTimingHeader() - Static method in class com.newrelic.api.agent.NewRelic
-
Get the RUM JavaScript header for the current web transaction.
- getConfig() - Method in interface com.newrelic.api.agent.Agent
-
Returns the agent's configuration.
- getContentType() - Method in interface com.newrelic.api.agent.Response
-
Returns the response content type, or null if it is not available.
- getCookieValue(String) - Method in interface com.newrelic.api.agent.Request
-
Returns the value for the cookie with the given name, or null if the cookie does not exist.
- getHeader(String) - Method in interface com.newrelic.api.agent.InboundHeaders
-
Returns the value of the specified request header as a String.
- getHeaderType() - Method in interface com.newrelic.api.agent.InboundHeaders
-
Return the type of these headers
- getHeaderType() - Method in interface com.newrelic.api.agent.OutboundHeaders
-
Return the type of these headers
- getInsights() - Method in interface com.newrelic.api.agent.Agent
-
Provides access to the Insights custom events API.
- getLastTracer() - Method in interface com.newrelic.api.agent.Transaction
-
Deprecated.
use getTracedMethod
.
- getLogger() - Method in interface com.newrelic.api.agent.Agent
-
Returns a logger that logs to the New Relic java agent log file.
- getMetricAggregator() - Method in interface com.newrelic.api.agent.Agent
-
Returns a metric aggregator that can be used to record metrics that can be viewed through custom dashboards.
- getMetricName() - Method in interface com.newrelic.api.agent.TracedMethod
-
Returns the traced method metric name.
- getParameterNames() - Method in interface com.newrelic.api.agent.Request
-
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
- getParameterValues(String) - Method in interface com.newrelic.api.agent.Request
-
Returns an array of String objects containing all of the values the given request parameter has, or null if the
parameter does not exist.
- getRemoteUser() - Method in interface com.newrelic.api.agent.Request
-
Returns the login of the user making this request, if the user has been authenticated, or null if the user has
not been authenticated.
- getRequestURI() - Method in interface com.newrelic.api.agent.Request
-
Returns the part of this request's URL from the protocol name up to the query string in the first line of the
HTTP request.
- getStatus() - Method in interface com.newrelic.api.agent.Response
-
Returns the status code for this response.
- getStatusMessage() - Method in interface com.newrelic.api.agent.Response
-
Returns the error status message, or null if there is none.
- getTracedMethod() - Method in interface com.newrelic.api.agent.Agent
-
Returns the current traced method.
- getTracedMethod() - Method in interface com.newrelic.api.agent.Transaction
-
Returns the TracedMethod enclosing the caller.
- getTransaction() - Method in interface com.newrelic.api.agent.Agent
-
Returns the current transaction, creating one if it doesn't currently exist.
- getValue(String) - Method in interface com.newrelic.api.agent.Config
-
Get a setting value.
- getValue(String, T) - Method in interface com.newrelic.api.agent.Config
-
Get a setting value.