public class JwksHttpSensorKeyProducer extends AbstractSensorKeyProducer
| Constructor and Description |
|---|
JwksHttpSensorKeyProducer(java.lang.String contextId,
java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
SensorKey |
errorKey(java.lang.Throwable e)
Generate a SensorKey for the sensor representing the failed requests
|
SensorKey |
successKey()
Generate a SensorKey for the sensor representing the successful requests
|
public JwksHttpSensorKeyProducer(java.lang.String contextId,
java.net.URI uri)
public SensorKey successKey()
SensorKeyProducerpublic SensorKey errorKey(java.lang.Throwable e)
SensorKeyProducere - The Throwable object to go with the failureCopyright © 2022. All rights reserved.