org.apache.http.entity.ContentLengthStrategy.java Source code

Java tutorial

Introduction

Here is the source code for org.apache.http.entity.ContentLengthStrategy.java

Source

package org.apache.http.entity;

import org.apache.http.HttpException;
import org.apache.http.HttpMessage;

public interface ContentLengthStrategy {
    public static final int CHUNKED = -2;
    public static final int IDENTITY = -1;

    long determineLength(HttpMessage httpMessage) throws HttpException;
}