JAIN SIP API
v1.1 - 23rd June 2003

javax.sip.header
Interface ServerHeader

All Superinterfaces:
java.lang.Cloneable, Header, java.io.Serializable

public interface ServerHeader
extends Header

The Server header field contains information about the software used by the UAS to handle the request. Revealing the specific software version of the server might allow the server to become more vulnerable to attacks against software that is known to contain security holes. Implementers SHOULD make the Server header field a configurable option. If the Response is being forwarded through a proxy, the proxy application must not modify the ServerHeaders. Instead, it should include a ViaHeader.

For Example:
Server: HomeServer v2

See Also:
ViaHeader, UserAgentHeader

Field Summary
static java.lang.String NAME
          Name of ServerHeader
 
Method Summary
 java.util.ListIterator getProduct()
          Returns a ListIterator over the List of product values.
 void setProduct(java.util.List product)
          Sets the List of product values of the ServerHeader.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, toString
 

Field Detail

NAME

public static final java.lang.String NAME
Name of ServerHeader

See Also:
Constant Field Values
Method Detail

getProduct

public java.util.ListIterator getProduct()
Returns a ListIterator over the List of product values.

Returns:
a ListIterator over the List of strings identifying the software of this ServerHeader

setProduct

public void setProduct(java.util.List product)
                throws java.text.ParseException
Sets the List of product values of the ServerHeader.

Parameters:
product - - a List of Strings specifying the product values
Throws:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the List of product value strings.

JAIN SIP API
v1.1 - 23rd June 2003

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing to the
JAIN-SIP-Interest list at http://archives.java.sun.com
Copyright - 2003 Sun Microsystems