Example usage for com.amazonaws.handlers RequestHandler2 subclass-usage

List of usage examples for com.amazonaws.handlers RequestHandler2 subclass-usage

Introduction

In this page you can find the example usage for com.amazonaws.handlers RequestHandler2 subclass-usage.

Usage

From source file com.comcast.money.java.AmazonWebServiceClientMoneyTraceRequestHandler.java

public class AmazonWebServiceClientMoneyTraceRequestHandler extends RequestHandler2 {

    public static final String MONEY_TRACE_HEADER = "X-MoneyTrace";

    private final String spanName;

From source file com.netflix.spinnaker.clouddriver.aws.security.AddSpinnakerUserToUserAgentRequestHandler.java

public class AddSpinnakerUserToUserAgentRequestHandler extends RequestHandler2 {
    @Override
    public AmazonWebServiceRequest beforeMarshalling(AmazonWebServiceRequest request) {
        final String userAgent = String.format("spinnaker-user/%s spinnaker-executionId/%s",
                AuthenticatedRequest.getSpinnakerUser().orElse("unknown"),
                AuthenticatedRequest.getSpinnakerExecutionId().orElse("unknown"));

From source file com.netflix.spinnaker.clouddriver.aws.security.sdkclient.RateLimitingRequestHandler.java

/**
 * A RequestHandler that will throttle requests via the supplied RateLimiter.
 */
public class RateLimitingRequestHandler extends RequestHandler2 {
    private final Counter counter;
    private final RateLimiter rateLimiter;

From source file io.opentracing.contrib.aws.TracingRequestHandler.java

/**
 * Tracing Request Handler
 */
public class TracingRequestHandler extends RequestHandler2 {

    private final HandlerContextKey<Span> contextKey = new HandlerContextKey<>("span");

From source file smartthings.brave.sns.PublishRequestTracingHandler.java

/**
 * AWS RequestHandler2 that adds tracing around the afterError and afterResponse events
 * when calling the AWS SNS publish API.
 */
public class PublishRequestTracingHandler extends RequestHandler2 {