com.fasterxml.clustermate.client.call.PutCallParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clustermate-client Show documentation
Show all versions of clustermate-client Show documentation
Building blocks for client libraries that access
ClusterMate-based service.
package com.fasterxml.clustermate.client.call;
import com.fasterxml.clustermate.api.EntryKey;
import com.fasterxml.clustermate.api.RequestPathBuilder;
/**
* Abstract value base class used for passing additional parameters for
* calls made for PUT operation. Implementations may add more parameterization;
* and will need to add constructors or methods for creating instances.
*/
public abstract class PutCallParameters
{
/**
* Method called by low-level HTTP client to add parameters into request
* path (and related information, like headers).
*
* @param pathBuilder builder used for building request path
* @param contentId If of the entry being put; usually not directly needed (already appended to path),
* but may be needed by some implementations
*/
public abstract B appendToPath(B pathBuilder, EntryKey contentId);
}