All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twelvemonkeys.servlet.cache.CacheResponse Maven / Gradle / Ivy

There is a newer version: 2.3
Show newest version
package com.twelvemonkeys.servlet.cache;

import java.io.OutputStream;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * CacheResponse
 *
 * @author Harald Kuhr
 * @author last modified by $Author: haku $
 * @version $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-servlet/src/main/java/com/twelvemonkeys/servlet/cache/CacheResponse.java#1 $
 */
public interface CacheResponse {
    OutputStream getOutputStream() throws IOException;

    void setStatus(int pStatusCode);

    int getStatus();

    void addHeader(String pHeaderName, String pHeaderValue);

    void setHeader(String pHeaderName, String pHeaderValue);

    Map> getHeaders();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy