NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

javax.sip.header
Interface UserAgentHeader

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

public interface UserAgentHeader
extends Header

The User-Agent header field contains information about the UAC originating the request. This is for statistical purposes, the tracing of protocol violations, and automated recognition of user agents for the sake of tailoring Responses to avoid particular user agent limitations. However revealing the specific software version of the user agent might allow the user agent to become more vulnerable to attacks against software that is known to contain security holes. Implementers SHOULD make the User-Agent header field a configurable option.

For Example:
User-Agent: Softphone Beta1.5

Version:
1.2
Author:
BEA Systems, NIST
See Also:
ServerHeader, ViaHeader

Field Summary
static String NAME
          Name of UserAgentHeader
 
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, hashCode, toString
 

Field Detail

NAME

static final String NAME
Name of UserAgentHeader

See Also:
Constant Field Values
Method Detail

getProduct

ListIterator getProduct()
Returns the List of product values.

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

setProduct

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: The Reference Implementation for JAIN-SIP 1.2

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