org.kiwiproject.dropwizard.poller.PollerSyncInvokerWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-client-poller Show documentation
Show all versions of dropwizard-client-poller Show documentation
A library to provide an HTTP poller that integrates into Dropwizard applications.
package org.kiwiproject.dropwizard.poller;
import jakarta.ws.rs.client.SyncInvoker;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Delegate;
/**
* A wrapper for a {@link SyncInvoker} in order for the poller to have access to the original URI for logging and debugging
*/
@SuppressWarnings("WeakerAccess")
@Getter
@Setter
@Builder
public class PollerSyncInvokerWrapper implements SyncInvoker {
private String uri;
@Delegate
private SyncInvoker delegateSyncInvoker;
}