com.fasterxml.clustermate.client.ahc.AHCPath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clustermate-client-ahc Show documentation
Show all versions of clustermate-client-ahc Show documentation
Almost complete ClusterMate NetworkClient implementation built on
Async HTTP Client
The newest version!
package com.fasterxml.clustermate.client.ahc;
import com.fasterxml.clustermate.api.RequestPath;
public class AHCPath
extends RequestPath
{
protected final String _serverPart;
protected final String _path;
protected final String[] _queryParams;
protected final Object[] _headers;
public AHCPath(AHCPathBuilder src) {
_serverPart = src._serverPart;
_path = src._path;
_queryParams = _listToArray(src._queryParams);
_headers = _mapToArray(src._headers);
}
@SuppressWarnings("unchecked")
@Override
// public > B builder() {
public AHCPathBuilder builder() {
return new AHCPathBuilder(this);
}
}