public final class MeterKey extends Object
Constructor and Description |
---|
MeterKey(@Nullable String uri,
@Nullable String remoteAddress,
@Nullable String method,
@Nullable String status)
Deprecated.
as of 1.1.17. Prefer using
MeterKey(String, String, String, String, String) constructor.
This method will be removed in version 1.3.0. |
MeterKey(@Nullable String uri,
@Nullable String remoteAddress,
@Nullable String proxyAddress,
@Nullable String method,
@Nullable String status)
Creates a new meter key.
|
@Deprecated public MeterKey(@Nullable String uri, @Nullable String remoteAddress, @Nullable String method, @Nullable String status)
MeterKey(String, String, String, String, String)
constructor.
This method will be removed in version 1.3.0.uri
- the requested URIremoteAddress
- the remote addressmethod
- the HTTP methodstatus
- the HTTP statuspublic MeterKey(@Nullable String uri, @Nullable String remoteAddress, @Nullable String proxyAddress, @Nullable String method, @Nullable String status)
uri
- the requested URIremoteAddress
- the remote addressproxyAddress
- the proxy addressmethod
- the HTTP methodstatus
- the HTTP status