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

gov.nist.javax.sip.header
Class Credentials

java.lang.Object
  extended by gov.nist.core.GenericObject
      extended by gov.nist.javax.sip.header.SIPObject
          extended by gov.nist.javax.sip.header.Credentials
All Implemented Interfaces:
Serializable, Cloneable

public class Credentials
extends SIPObject

Credentials that are used in authentication and authorization headers.

Since:
1.1
Version:
1.2 $Revision: 1.7 $ $Date: 2009/07/17 18:57:30 $
Author:
M. Ranganathan
See Also:
Serialized Form

Constructor Summary
Credentials()
          Default constructor
 
Method Summary
 Object clone()
          Clones this object.
 String encode()
          Encode the header into a String.
 gov.nist.core.NameValueList getCredentials()
          get the parameters list.
 String getScheme()
          get the scheme field.
 void setCredentials(gov.nist.core.NameValueList c)
          Set the parameters member
 void setScheme(String s)
          Set the scheme member
 
Methods inherited from class gov.nist.javax.sip.header.SIPObject
dbgPrint, debugDump, debugDump, encode, equals, match, toString
 
Methods inherited from class gov.nist.core.GenericObject
getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials()
Default constructor

Method Detail

getCredentials

public gov.nist.core.NameValueList getCredentials()
get the parameters list.

Returns:
NameValueList

getScheme

public String getScheme()
get the scheme field.

Returns:
String.

setScheme

public void setScheme(String s)
Set the scheme member

Parameters:
s - String to set

setCredentials

public void setCredentials(gov.nist.core.NameValueList c)
Set the parameters member

Parameters:
c - NameValueList to set.

encode

public String encode()
Description copied from class: SIPObject
Encode the header into a String.

Specified by:
encode in class SIPObject
Returns:
String

clone

public Object clone()
Description copied from class: gov.nist.core.GenericObject
Clones this object.

Overrides:
clone in class gov.nist.core.GenericObject

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.