public class org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy extends java.lang.Object implements org.apache.http.entity.ContentLengthStrategy
{
public static final org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy INSTANCE;
private final org.apache.http.entity.ContentLengthStrategy contentLengthStrategy;
public void <init>(org.apache.http.entity.ContentLengthStrategy)
{
org.apache.http.entity.ContentLengthStrategy v;
org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy v;
v := @this: org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy;
v := @parameter: org.apache.http.entity.ContentLengthStrategy;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy: org.apache.http.entity.ContentLengthStrategy contentLengthStrategy> = v;
return;
}
public long determineLength(org.apache.http.HttpMessage) throws org.apache.http.HttpException
{
org.apache.http.ProtocolException v;
byte v;
org.apache.http.entity.ContentLengthStrategy v;
org.apache.http.HttpMessage v;
long v;
org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy v;
v := @this: org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy;
v := @parameter: org.apache.http.HttpMessage;
v = v.<org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy: org.apache.http.entity.ContentLengthStrategy contentLengthStrategy>;
v = interfaceinvoke v.<org.apache.http.entity.ContentLengthStrategy: long determineLength(org.apache.http.HttpMessage)>(v);
v = v cmp -1L;
if v != 0 goto label;
v = new org.apache.http.ProtocolException;
specialinvoke v.<org.apache.http.ProtocolException: void <init>(java.lang.String)>("Identity transfer encoding cannot be used");
throw v;
label:
return v;
}
static void <clinit>()
{
org.apache.http.impl.entity.LaxContentLengthStrategy v;
org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy v;
v = new org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy;
v = new org.apache.http.impl.entity.LaxContentLengthStrategy;
specialinvoke v.<org.apache.http.impl.entity.LaxContentLengthStrategy: void <init>(int)>(0);
specialinvoke v.<org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy: void <init>(org.apache.http.entity.ContentLengthStrategy)>(v);
<org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy: org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy INSTANCE> = v;
return;
}
}