- 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
-
Deprecated.
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
-
Deprecated.
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 header key syntax used for this.
- getHeaderType() - Method in interface com.newrelic.api.agent.OutboundHeaders
-
Return the type of header key syntax used for this.
- 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
-
- getLogger() - Method in interface com.newrelic.api.agent.Agent
-
Returns a logger that logs to the New Relic Java agent log file.
- getMethod() - Method in class com.newrelic.api.agent.ExtendedRequest
-
The HTTP method (e.g.
- 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
-
Deprecated.
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
-
Deprecated.
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
-
Deprecated.
Returns the login of the user making this request, if the user has been authenticated, or null
if
the user has not been authenticated.
- getRequestMetadata() - Method in interface com.newrelic.api.agent.Transaction
-
Get transaction metadata to include in an outbound call.
- getRequestURI() - Method in interface com.newrelic.api.agent.Request
-
Deprecated.
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.
- getResponseMetadata() - Method in interface com.newrelic.api.agent.Transaction
-
Get transaction metadata to include in an outbound response.
- 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
-
- 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 the value of a setting.
- getValue(String, T) - Method in interface com.newrelic.api.agent.Config
-
Get the value of a setting, returning the default if the value is not present.