|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerHeader
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
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, hashCode, toString |
Field Detail |
---|
static final java.lang.String NAME
Method Detail |
---|
java.util.ListIterator getProduct()
void setProduct(java.util.List product) throws java.text.ParseException
product
- - a List of Strings specifying the product values
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the List of product value strings.
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |