All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasterxml.clustermate.client.call.PutCallParameters Maven / Gradle / Ivy

There is a newer version: 0.10.5
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy