Heading

Sub-heading

Heading

Heading

Heading

Heading

Heading
Heading
package java.net;

import java.io.InputStream;
import java.util.Map;
import java.util.List;
import java.io.IOException;
public abstract class CacheResponse {

    /**
     * Returns the response headers as a Map.
     *
     * @return An immutable Map from response header field names to
     *         lists of field values. The status line has null as its
     *         field name.
     * @throws IOException if an I/O error occurs
     *            while getting the response headers
     */
    public abstract Map<String, List<String>> getHeaders() throws IOException;
    
    /**
     * Returns the response body as an InputStream.
     *
     * @return an InputStream from which the response body can
     *         be accessed
     * @throws IOException if an I/O error occurs while
     *         getting the response body
     */
    public abstract InputStream getBody() throws IOException;
}
    void main(int argc, char **argv) {
        return 0;    
    }



blog comments powered by Disqus

Published

18 November 2013

Tags