Class ExternalParametersFactory
- java.lang.Object
-
- com.newrelic.agent.bridge.external.ExternalParametersFactory
-
@Deprecated public final class ExternalParametersFactory extends java.lang.ObjectDeprecated.- Since:
- 3.26.0
-
-
Constructor Summary
Constructors Constructor Description ExternalParametersFactory()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExternalParameterscreateForDatastore(DatastoreParameters datastoreParameters)Deprecated.static ExternalParameterscreateForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port)Deprecated.static <T> ExternalParameterscreateForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port, T rawQuery, QueryConverter<T> queryConverter)Deprecated.static <T,I>
ExternalParameterscreateForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port, T rawQuery, QueryConverter<T> queryConverter, java.lang.String inputQueryLabel, I inputQuery, QueryConverter<I> inputQueryConverter)Deprecated.static ExternalParameterscreateForGenericExternal(java.lang.String library, java.net.URI uri, java.lang.String procedure)Deprecated.static ExternalParameterscreateForHttp(java.lang.String library, java.net.URI uri, java.lang.String procedure)Deprecated.static ExternalParameterscreateForHttp(java.lang.String library, java.net.URI uri, java.lang.String procedure, com.newrelic.api.agent.InboundHeaders inboundResponseHeaders)Deprecated.static ExternalParameterscreateForMessageConsumeOperation(java.lang.String library, DestinationType destinationType, java.lang.String destinationName, com.newrelic.api.agent.InboundHeaders inboundHeaders)Deprecated.static ExternalParameterscreateForMessageProduceOperation(java.lang.String library, DestinationType destinationType, java.lang.String destinationName, com.newrelic.api.agent.OutboundHeaders outboundHeaders)Deprecated.
-
-
-
Method Detail
-
createForGenericExternal
@Deprecated public static ExternalParameters createForGenericExternal(java.lang.String library, java.net.URI uri, java.lang.String procedure)
Deprecated.- Parameters:
library- The name of the framework being used to make the connection.uri- The external URI for the call.procedure- The HTTP method or Java method for the call.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.26.0
-
createForHttp
@Deprecated public static ExternalParameters createForHttp(java.lang.String library, java.net.URI uri, java.lang.String procedure)
Deprecated.- Parameters:
library- The name of the framework being used to make the connection.uri- The external URI for the call.procedure- The HTTP method or Java method for the call.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.26.0
-
createForHttp
@Deprecated public static ExternalParameters createForHttp(java.lang.String library, java.net.URI uri, java.lang.String procedure, com.newrelic.api.agent.InboundHeaders inboundResponseHeaders)
Deprecated.- Parameters:
library- The name of the framework being used to make the connection.uri- The external URI for the call.procedure- The HTTP method or Java method for the call.inboundResponseHeaders- The headers from the external response.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.26.0
-
createForDatastore
@Deprecated public static ExternalParameters createForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port)
Deprecated.- Parameters:
product- The name of the vendor or driver.collection- The name of the collection or table.operation- The name of the datastore operation. This should be the primitive operation type accepted by the datastore itself or the name of the API method in the client library.host- The external host.port- The external port.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.26.0
-
createForDatastore
@Deprecated public static <T> ExternalParameters createForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port, T rawQuery, QueryConverter<T> queryConverter)
Deprecated.- Parameters:
product- The name of the vendor or driver.collection- The name of the collection or table.operation- The name of the datastore operation. This should be the primitive operation type accepted by the datastore itself or the name of the API method in the client library.host- The external host.port- The external port.rawQuery- The raw query object used for transforming into a raw query String and obfuscated query StringqueryConverter- A converter to transform the rawQuery into a raw query String and obfuscated query String- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.27.0
-
createForDatastore
@Deprecated public static <T,I> ExternalParameters createForDatastore(java.lang.String product, java.lang.String collection, java.lang.String operation, java.lang.String host, java.lang.Integer port, T rawQuery, QueryConverter<T> queryConverter, java.lang.String inputQueryLabel, I inputQuery, QueryConverter<I> inputQueryConverter)
Deprecated.- Parameters:
product- The name of the vendor or driver.collection- The name of the collection or table.operation- The name of the datastore operation. This should be the primitive operation type accepted by the datastore itself or the name of the API method in the client library.host- The external host.port- The external port.rawQuery- The raw query object used for transforming into a raw query String and obfuscated query StringqueryConverter- A converter to transform the rawQuery into a raw query String and obfuscated query StringinputQueryLabel- The label used to display this input query in the UIinputQuery- The raw input query object used for transforming into a raw input query String and obfuscated input query StringinputQueryConverter- A converter to transform the rawInputQuery into a raw input query String and obfuscated input query String- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.27.0
-
createForDatastore
@Deprecated public static ExternalParameters createForDatastore(DatastoreParameters datastoreParameters)
Deprecated.- Parameters:
datastoreParameters- The input parameters for the datastore call.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.33.0
-
createForMessageProduceOperation
@Deprecated public static ExternalParameters createForMessageProduceOperation(java.lang.String library, DestinationType destinationType, java.lang.String destinationName, com.newrelic.api.agent.OutboundHeaders outboundHeaders)
Deprecated.- Parameters:
destinationType- Destination type of the message.destinationName- Name of the destination.outboundHeaders- The headers from the message.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.27.0
-
createForMessageConsumeOperation
@Deprecated public static ExternalParameters createForMessageConsumeOperation(java.lang.String library, DestinationType destinationType, java.lang.String destinationName, com.newrelic.api.agent.InboundHeaders inboundHeaders)
Deprecated.- Parameters:
destinationType- Destination type of the message.destinationName- Name of the destination.inboundHeaders- The headers from the message.- Returns:
- The input parameters for the reportAsExternal method.
- Since:
- 3.27.0
-
-