/** * banned Uris for this cluster * */ public PathSpec bannedUris(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "bannedUris"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * Class names for the implemented BasePartitionAccessor * */ public PathSpec classNames(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "classNames"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * operations where compression should be used * */ public PathSpec responseCompressionOperations(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "responseCompressionOperations"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * supported content encodings for requests * */ public PathSpec requestContentEncodings(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "requestContentEncodings"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * Prioritized order of strategy that this service should use. * */ public PathSpec loadBalancerStrategyList(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "loadBalancerStrategyList"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * List of schemes that this service supports ordered by priority * */ public PathSpec prioritizedSchemes(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "prioritizedSchemes"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * banned Uris for this service * */ public PathSpec bannedUris(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "bannedUris"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * preferred content encodings for responses, used to construct Accept-Encoding header * */ public PathSpec responseContentEncodings(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "responseContentEncodings"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * a list of keys in D2TransportClientProperties which client can override * */ public PathSpec allowedClientOverrideKeys(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "allowedClientOverrideKeys"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * The services that this cluster can provide * */ public PathSpec services(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "services"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * The URIs of machines that belong to this cluster * */ public PathSpec uris(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "uris"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * List of validation strings. SSL session validator use this information to verify the host it connects to. The name is generically defined because it can be used by any type SSLSessionValidator in open source world. * */ public PathSpec sslSessionValidationStrings(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "sslSessionValidationStrings"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * List of Regex to match against the URI of incoming request and compute hash value. The hash value is computed based on the contents of the first capture group of the first expression that matches the request URI * */ public PathSpec uriRegexes(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "uriRegexes"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * Configuration of backup requests. Each element describes backup requests configuration for specific operation. * */ public PathSpec backupRequests(Integer start, Integer count) { PathSpec arrayPathSpec = new PathSpec(getPathComponents(), "backupRequests"); if (start!= null) { arrayPathSpec.setAttribute("start", start); } if (count!= null) { arrayPathSpec.setAttribute("count", count); } return arrayPathSpec; }
/** * If the specified mask contains array range attributes, add them to the pathSpec parameter and return the updated * pathSpec. If the mask doesn't have any array range attributes return an empty Optional. */ private Optional<PathSpec> addArrayRangeAttributes(DataMap mask, PathSpec pathSpec) { Object start = mask.get(FilterConstants.START); if (start != null) { pathSpec.setAttribute(PathSpec.ATTR_ARRAY_START, start); } Object count = mask.get(FilterConstants.COUNT); if (count != null) { pathSpec.setAttribute(PathSpec.ATTR_ARRAY_COUNT, count); } return (start != null || count != null) ? Optional.of(pathSpec) : Optional.empty(); }