org.wings.resource
Interface HttpHeader

All Superinterfaces:
Map.Entry<String,Object>
All Known Implementing Classes:
Resource.HeaderEntry

public interface HttpHeader
extends Map.Entry<String,Object>

A HTTP header entry which will be delivered in the header of the low-level HTTP response.

Author:
Benjamin Schmid

Method Summary
 String getKey()
           
 Object getValue()
           
 Object setValue(Object value)
           
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Method Detail

getKey

String getKey()
Specified by:
getKey in interface Map.Entry<String,Object>
Returns:
The HTTP head parameter name

getValue

Object getValue()
Specified by:
getValue in interface Map.Entry<String,Object>
Returns:
The HTTP paramter value. This may be a String, Integer or Date.

setValue

Object setValue(Object value)
Specified by:
setValue in interface Map.Entry<String,Object>
Parameters:
value - The HTTP paramter value. This may be a String, Integer or Date.
Returns:
The previous value.


wingS Swings ;-)