Class MethodHelper

    • Constructor Detail

      • MethodHelper

        public MethodHelper()
        Deprecated.
    • Method Detail

      • isCacheableHeader

        public static boolean isCacheableHeader​(String header,
                                                ClientResponse response)
        Deprecated.
      • isNoCacheOrPrivate

        public static boolean isNoCacheOrPrivate​(String header,
                                                 ClientResponse response)
        Deprecated.
      • isHopByHop

        public static boolean isHopByHop​(String header)
        Deprecated.
        We don't cache hop-by-hop headers TODO: There may actually be other hop-by-hop headers we need to filter out. They'll be listed in the Connection header. see Section 14.10 of RFC2616 (last paragraph)
      • createMethod

        public static org.apache.commons.httpclient.HttpMethod createMethod​(String method,
                                                                            String uri,
                                                                            org.apache.commons.httpclient.methods.RequestEntity entity,
                                                                            RequestOptions options)
        Deprecated.
      • createDefaultRequestOptions

        public static RequestOptions createDefaultRequestOptions()
        Deprecated.