Partition the limit by header.
@param name header name
@return Chainable builder
169317
public ServerWebExchangeLimiterBuilder partitionByHeader(String name) {
		return partitionResolver(
				exchange -> exchange.getRequest().getHeaders().getFirst(name));
	}
977323
public OkHttpRequest header(String name, String value) {
        builder.header(name, value);
        return this;
    }
614733
public HttpFileServiceBuilder setHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        getOrCreateHeaders().setObject(HttpHeaderNames.of(name), value);
        return this;
    }
979769
public static <K,V> Storage<K,V> createHashMapStorage(String name){
		return new Storage<K,V>(name, new MapStorageWrapper<K, V>(new HashMap<K, V>()));
	}
632955
public static HeaderTypes create(final String name) {
        if (name == null) {
            throw new IllegalArgumentException("header name may not be null");
        }
        String type = name.trim().toLowerCase(Locale.ENGLISH);
        if (type.length() == 0) {
            throw new IllegalArgumentException("header name may not be empty");
        }
        return new HeaderTypes(name);
    }
1311850
public ISarlEnumerationBuilder addSarlEnumeration(String name) {
		ISarlEnumerationBuilder builder = this.iSarlEnumerationBuilderProvider.get();
		builder.eInit(getSarlAgent(), name, getTypeResolutionContext());
		return builder;
	}
1359835
public Parameterable getParameterableHeader(String name)
			throws ServletParseException {
		if(logger.isDebugEnabled()) {
			logger.debug("getParameterableHeader - name=" + name);
		}

		if (name == null)
			throw new NullPointerException(
					"Parametrable header name cant be null!!!");

		String nameToSearch = getCorrectHeaderName(name);

		Header h = this.message.getHeader(nameToSearch);

		if(!isParameterable(name)) {
			throw new ServletParseException(name + " header is not parameterable !");
		}

		if(h == null) {
			return null;
		}

		return createParameterable(h, getFullHeaderName(name), message instanceof Request);
	}
451962
public static PartitionSize getSize(String name) {
		for(PartitionSize pa : sizes) {
			if(pa.name().equals(name)) {
				return pa;
			}
		}
		return twoYearSize;
	}
1094968
public CloseableHttpClient build(String name) {
        final CloseableHttpClient client = buildWithDefaultRequestConfiguration(name).getClient();
        // If the environment is present, we tie the client with the server lifecycle
        if (environment != null) {
            environment.lifecycle().manage(new Managed() {
                @Override
                public void start() throws Exception {
                }

                @Override
                public void stop() throws Exception {
                    client.close();
                }
            });
        }
        return client;
    }
124012
public ItemRule newHeaderItemRule(String headerName) {
        ItemRule itemRule = new ItemRule();
        itemRule.setName(headerName);
        addHeaderItemRule(itemRule);
        return itemRule;
    }
1111063
public List<XNElement> childrenWithName(final String name) {
        List<XNElement> result = new ArrayList<>();
        for (XNElement c : children) {
            if (Objects.equals(c.name, name)) {
                result.add(c);
            }
        }
        return result;
    }
797470
public static Builder name(String name) {
    if (name == null || name.trim().isEmpty()) {
      throw new IllegalArgumentException("Name should be defined.");
    }
    return new Builder(name);
  }
516948
public List<String> getHeaders(String name) {
		Map<String, List<String>> fields = conn.getHeaderFields();
		if (fields == null) {
			return null;
		}
		return fields.get(name);
	}
395952
public CharSegment getHeaderBuffer(String name)
  {
    String value = header(name);

    if (value != null)
      return new CharBuffer(value);
    else
      return null;
  }
124937
public Iterable<XElement> childrenWithName(String name) {
        List<XElement> result = new ArrayList<>(children.size() + 1);
        for (XElement e : children) {
            if (e.name.equals(name)) {
                result.add(e);
            }
        }
        return result;
    }
674580
@Nullable
    public String getHeader(String name) {
        requireNonNull(name);
        List<String> values = lazyMap.get().get(name.toLowerCase());
        if (values == null) {
            return null;
        }
        return values.get(0);
    }
1162893
public RequestBuilder<T,ID> addHeader(String name,String value)
    {
        headers.add(name, value);
        return this;
    }