Class MethodHelper
- java.lang.Object
-
- org.apache.abdera.protocol.client.util.MethodHelper
-
@Deprecated public class MethodHelper extends Object
Deprecated.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodHelper.ExtensionMethodDeprecated.static classMethodHelper.HopByHopDeprecated.static classMethodHelper.MethodDeprecated.
-
Constructor Summary
Constructors Constructor Description MethodHelper()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RequestOptionscreateDefaultRequestOptions()Deprecated.static org.apache.commons.httpclient.HttpMethodcreateMethod(String method, String uri, org.apache.commons.httpclient.methods.RequestEntity entity, RequestOptions options)Deprecated.static Map<String,Object[]>getCacheableHeaders(ClientResponse response)Deprecated.static booleanisCacheableHeader(String header, ClientResponse response)Deprecated.static booleanisHopByHop(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.static booleanisNoCacheOrPrivate(String header, ClientResponse response)Deprecated.
-
-
-
Method Detail
-
getCacheableHeaders
public static Map<String,Object[]> getCacheableHeaders(ClientResponse response)
Deprecated.
-
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.
-
-