NIST SIP Parser and Stack (v1.2) API

gov.nist.javax.sip.header
Class Credentials

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

public class Credentials
extends SIPObject

Credentials that are used in authentication and authorization headers.


Constructor Summary
Credentials()
          Default constructor
 
Method Summary
 String encode()
          Encode the header into a String.
 NameValueList getCredentials()
          get the parameters list.
 String getScheme()
          get the scheme field.
 void setCredential(NameValue nameValue)
           
 void setCredentials(NameValueList c)
          Set the parameters member
 void setScheme(String s)
          Set the scheme 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

Credentials

public Credentials()
Default constructor

Method Detail

getCredentials

public 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(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

setCredential

public void setCredential(NameValue nameValue)

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.