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

org.wings.resource.HttpHeader Maven / Gradle / Ivy

The newest version!
// (c) copyright 2006 by eXXcellent solutions, Ulm. Author: bschmid

package org.wings.resource;

import java.util.Map;

/**
 * A HTTP header entry which will be delivered in the header of the low-level HTTP response. 
 *
 * @author Benjamin Schmid 
 */
public interface HttpHeader extends Map.Entry{

    /**
     * @return The HTTP head parameter name
     */
    @Override
    String getKey();

    /**
     * @return The HTTP paramter value. This may be a String, Integer or Date.
     */
    @Override
    Object getValue();

    /**
     * @param value The HTTP paramter value. This may be a String, Integer or Date.
     * @return The previous value.
     */
    @Override
    Object setValue(Object value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy