NIST SIP Parser and Stack (v1.2) API

javax.sip.header
Interface ServerHeader

All Superinterfaces:
Cloneable, Header, Serializable
All Known Implementing Classes:
Server

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

Version:
1.1
Author:
Sun Microsystems
See Also:
ViaHeader, UserAgentHeader

Field Summary
static String NAME
          Name of ServerHeader
 
Method Summary
 ListIterator getProduct()
          Returns the List of product values.
 void setProduct(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 String NAME
Name of ServerHeader

See Also:
Constant Field Values
Method Detail

getProduct

public ListIterator getProduct()
Returns the List of product values.

Returns:
the List of strings identifying the software of this ServerHeader

setProduct

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

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

NIST SIP Parser and Stack (v1.2) API

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Get the latest distribution.
Submit a bug report or feature request.