Example usage for org.apache.http.client.cache HeaderConstants HEAD_METHOD

List of usage examples for org.apache.http.client.cache HeaderConstants HEAD_METHOD

Introduction

In this page you can find the example usage for org.apache.http.client.cache HeaderConstants HEAD_METHOD.

Prototype

String HEAD_METHOD

To view the source code for org.apache.http.client.cache HeaderConstants HEAD_METHOD.

Click Source Link

Usage

From source file:org.apache.http.impl.client.cache.CacheInvalidator.java

private boolean notGetOrHeadRequest(String method) {
    return !(HeaderConstants.GET_METHOD.equals(method) || HeaderConstants.HEAD_METHOD.equals(method));
}