Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.client.call;
 
Common base class for optional parameters that can be passed for calls and operations.
public abstract class CallParameters
    protected final StoreClientConfig<?,?> _clientConfig;
    protected CallParameters() {
         = null;
    }
    
    protected CallParameters(StoreClientConfig<?,?> config) {
         = config;
    }
    protected CallParameters(CallParameters src) {
        if (src == null) {
             = null;
        } else {
             =  src._clientConfig;
        }
    }
    /*
    /**********************************************************************
    /* Mutant factories
    /**********************************************************************
     */

    
Mutant factory that will return an instance that is configured with given com.fasterxml.clustermate.client.StoreClientConfig instance.
    public abstract CallParameters withClientConfig(StoreClientConfig<?,?> config);
    
    /*
    /**********************************************************************
    /* Simple accessors
    /**********************************************************************
     */
    
    public StoreClientConfig<?,?> getClientConfig() {
        return ;
    }
    /*
    /**********************************************************************
    /* Other methods
    /**********************************************************************
     */
    
    
Method called by low-level HTTP client to add parameters into request path (and related information, like headers).

Parameters:
pathBuilder builder used for building request path
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 extends RequestPathBuilder<B>> B appendToPath(B pathBuilderEntryKey contentId);
New to GrepCode? Check out our FAQ X