@deprecated Use {@link #remove(CharSequence)} instead.

@see #removeHeader(HttpMessage, CharSequence)
546566
@Deprecated
    public static void removeHeader(HttpMessage message, String name) {
        message.headers().remove(name);
    }
293729
public function removeHeader($header)
	{
		if($header instanceof HttpHeaderInterface)
		{
			unset($this->headers[strtolower($header->getFieldName())]);
		}
		else
		{
			unset($this->headers[strtolower($header)]);
		}
		
		return $this;
	}
662155
public void remove(String fqn) {
        awaitRunning();
        try {
            channel.send(new Message(null, new Request(Request.REMOVE, fqn)));
        } catch (Exception ex) {
            LOG.error("failure bcasting REMOVE request", ex);
        }
    }
733574
@Deprecated
    public static int getIntHeader(HttpMessage message, String name) {
        return getIntHeader(message, (CharSequence) name);
    }
226208
public void doDelete(String url, HttpResponse response, Map<String, Object> headers) {
        response.setRequest(url);
        httpClient.delete(url, response, headers);
    }
190488
private static List<CharSequence> splitHeader(CharSequence header) {
        final StringBuilder builder = new StringBuilder(header.length());
        final List<CharSequence> protocols = new ArrayList<CharSequence>(4);
        for (int i = 0; i < header.length(); ++i) {
            char c = header.charAt(i);
            if (Character.isWhitespace(c)) {
                // Don't include any whitespace.
                continue;
            }
            if (c == ',') {
                // Add the string and reset the builder for the next protocol.
                protocols.add(builder.toString());
                builder.setLength(0);
            } else {
                builder.append(c);
            }
        }

        // Add the last protocol
        if (builder.length() > 0) {
            protocols.add(builder.toString());
        }

        return protocols;
    }
831124
@Deprecated
    public static int indexOf(CharSequence s, int codePoint) {
        int cp;
        for (int i = 0; i < s.length(); i += Character.charCount(cp)) {
            cp = Character.codePointAt(s, i);
            if (cp == codePoint) {
                return i;
            }
        }
        return -1;
    }
414808
private static Header[] removeHeaders(Header[] headersToClean, String[] headersToRemove) {
        ArrayList<Header> headers = new ArrayList<>();
        if (headersToClean == null) {
            return null;
        }
        for (Header header : headersToClean) {
            if (!StringUtils.equalsAnyIgnoreCase(header.getName(), headersToRemove)) {
                headers.add(header);
            }
        }
        LOG.debug("Removed the content-length and content-type headers as the HTTP Client lib will care "
            + "about them as soon as the entity is set on the POST object.");
        Header[] headersArray = new Header[headers.size()];
        headersArray = headers.toArray(headersArray);
        return headersArray;
    }
652440
public String removeTail(String srcStr, int charCount) {
        return getLeftOf(srcStr, srcStr.length() - charCount);
    }
1290418
public function removeHeader($name)
    {
        $nameLower = strtolower($name);
        foreach ($this->_headers as &$h) {
            if ($h && strtolower($h[0]) == $nameLower) {
                $h = null;
            }
        }
    }
79100
public String removeHead(String srcStr, int charCount) {
        return getRightOf(srcStr, srcStr.length() - charCount);
    }
513584
@Deprecated
	public static void removeTemplate(Client client, String template) {
		logger.trace("removeTemplate({})", template);
		client.admin().indices().prepareDeleteTemplate(template).get();
		logger.trace("/removeTemplate({})", template);
	}
455372
void remove(CmsFlexCacheKey key) {

        if (!isEnabled()) {
            return;
        }
        CmsFlexCacheVariation o = m_keyCache.get(key.getResource());
        if (o != null) {
            I_CmsLruCacheObject old = o.m_map.get(key.getVariation());
            if (old != null) {
                getEntryLruCache().remove(old);
            }
        }
    }
184037
public static String cleanSequence(String sequence) {
	assert sequence != null;
	final Matcher m = SequenceUtil.WHITE_SPACE.matcher(sequence);
	sequence = m.replaceAll("").toUpperCase();
	return sequence;
	}
765408
public void removeHeader(String name) {
		if(logger.isDebugEnabled()) {
        	logger.debug("removeHeader - name=" + name);
        }
		checkCommitted();
		String hName = getFullHeaderName(name);

		if(hName.trim().equalsIgnoreCase(ContactHeader.NAME)) {
			String header = getHeader(hName);
			if (isSystemHeaderAndNotGruu(getModifiableRule(hName), header)) {
				throw new IllegalArgumentException("Cant remove system header["
						+ hName + "]");
			}
		} else {
			if (isSystemHeader(getModifiableRule(hName))) {
				throw new IllegalArgumentException("Cant remove system header["
						+ hName + "]");
			}
		}

		if (hName.equalsIgnoreCase("From") || hName.equalsIgnoreCase("To")) {
			logger.error("Error, can't remove From or To header [" + hName + "]");
			throw new IllegalArgumentException(
					"Cant remove From or To header, see JSR 289 Section 4.1.2");
		}

		String nameToSearch = getCorrectHeaderName(hName);

		this.message.removeHeader(nameToSearch);

	}
69435
public static String stripMaliciousHeaderChars(String input) 
    {
        for (char c : MALICIOUS_HEADER_CHARS) {
            input = StringUtils.remove(input, c);
        }
        return input;
    }
184406
public B setHttpHeader(CharSequence name, Object value) {
        requireNonNull(name, "name");
        requireNonNull(value, "value");
        httpHeaders.setObject(HttpHeaderNames.of(name), value);
        return self();
    }