NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.header
Class ProductToken

java.lang.Object
  |
  +--gov.nist.core.GenericObject
        |
        +--gov.nist.javax.sip.header.SIPObject
              |
              +--gov.nist.javax.sip.header.ProductToken

public class ProductToken
extends SIPObject

Product Token class


Constructor Summary
ProductToken()
           
 
Method Summary
 String encode()
          Return canonical form.
 String getName()
          Return the name field.
 String getVersion()
          Return the version field.
 void setName(String n)
          Set the name member
 void setVersion(String v)
          Set the version member
 
Methods inherited from class gov.nist.javax.sip.header.SIPObject
clone, dbgPrint, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString
 
Methods inherited from class gov.nist.core.GenericObject
getClassFromName, getMatcher, isMySubclass, setMatcher
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductToken

public ProductToken()
Method Detail

encode

public String encode()
Return canonical form.

Specified by:
encode in class SIPObject
Returns:
String

getName

public String getName()
Return the name field.

Returns:
String

getVersion

public String getVersion()
Return the version field.

Returns:
String

setName

public void setName(String n)
Set the name member

Parameters:
n - String to set

setVersion

public void setVersion(String v)
Set the version member

Parameters:
v - String to set

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.