com.palantir.atlasdb.timelock.lock.watch.ConjureLockWatchingService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timelock-api-jersey Show documentation
Show all versions of timelock-api-jersey Show documentation
Palantir open source project
package com.palantir.atlasdb.timelock.lock.watch;
import com.palantir.atlasdb.timelock.api.LockWatchRequest;
import com.palantir.conjure.java.lib.internal.ClientEndpoint;
import com.palantir.logsafe.Safe;
import com.palantir.tokens.auth.AuthHeader;
import javax.annotation.processing.Generated;
import javax.ws.rs.Consumes;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
@Path("/")
@Generated("com.palantir.conjure.java.services.JerseyServiceGenerator")
public interface ConjureLockWatchingService {
@POST
@Path("lw/sw/{namespace}")
@ClientEndpoint(method = "POST", path = "/lw/sw/{namespace}")
void startWatching(
@HeaderParam("Authorization") AuthHeader authHeader,
@Safe @PathParam("namespace") String namespace,
LockWatchRequest request);
}