MjSip Stack
v1.6

org.zoolu.sip.header
Class AuthenticationInfoHeader

java.lang.Object
  |
  +--org.zoolu.sip.header.Header
        |
        +--org.zoolu.sip.header.AuthenticationHeader
              |
              +--org.zoolu.sip.header.AuthenticationInfoHeader

public class AuthenticationInfoHeader
extends AuthenticationHeader

SIP AuthenticationInfo header


Fields inherited from class org.zoolu.sip.header.AuthenticationHeader
LWS_SEPARATOR, QUOTED_PARAMETERS
 
Fields inherited from class org.zoolu.sip.header.Header
name, value
 
Constructor Summary
AuthenticationInfoHeader()
          Creates a new AuthenticationInfoHeader
AuthenticationInfoHeader(Header hd)
          Creates a new AuthenticationInfoHeader
AuthenticationInfoHeader(java.lang.String hvalue)
          Creates a new AuthenticationInfoHeader
AuthenticationInfoHeader(java.util.Vector auth_params)
          Creates a new AuthenticationInfoHeader specifing the auth_scheme and the vector of authentication parameters.
 
Method Summary
 java.lang.String getAuthScheme()
          Gets the athentication scheme.
 java.lang.String getParameter(java.lang.String param_name)
          Returns the parameter param_name, in case removing quotes.
 java.util.Vector getParameters()
          Gets a String Vector of parameter names.
 boolean hasParameter(java.lang.String param_name)
          Whether has parameter param_name
 
Methods inherited from class org.zoolu.sip.header.AuthenticationHeader
addAlgorithParam, addAutsParam, addCnonceParam, addNcParam, addNextnonceParam, addNonceParam, addOpaqueParam, addParameter, addQopOptionsParam, addQopParam, addQuotedParameter, addRealmParam, addResponseParam, addRspauthParam, addUnquotedParameter, addUriParam, addUsernameParam, getAlgorithParam, getAutsParam, getCnonceParam, getNcParam, getNextnonceParam, getNonceParam, getOpaqueParam, getQopOptionsParam, getQopParam, getRealmParam, getResponseParam, getRspauthParam, getUriParam, getUsernameParam, hasAlgorithmParam, hasAutsParam, hasCnonceParam, hasNcParam, hasNextnonceParam, hasNonceParam, hasOpaqueParam, hasQopOptionsParam, hasQopParam, hasRealmParam, hasResponseParam, hasRspauthParam, hasUriParam, hasUsernameParam
 
Methods inherited from class org.zoolu.sip.header.Header
clone, equals, getName, getValue, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationInfoHeader

public AuthenticationInfoHeader()
Creates a new AuthenticationInfoHeader

AuthenticationInfoHeader

public AuthenticationInfoHeader(java.lang.String hvalue)
Creates a new AuthenticationInfoHeader

AuthenticationInfoHeader

public AuthenticationInfoHeader(Header hd)
Creates a new AuthenticationInfoHeader

AuthenticationInfoHeader

public AuthenticationInfoHeader(java.util.Vector auth_params)
Creates a new AuthenticationInfoHeader specifing the auth_scheme and the vector of authentication parameters.

auth_param is a vector of String of the form parm_name "=" parm_value

Method Detail

hasParameter

public boolean hasParameter(java.lang.String param_name)
Whether has parameter param_name
Overrides:
hasParameter in class AuthenticationHeader

getParameter

public java.lang.String getParameter(java.lang.String param_name)
Returns the parameter param_name, in case removing quotes.
Overrides:
getParameter in class AuthenticationHeader

getParameters

public java.util.Vector getParameters()
Gets a String Vector of parameter names.
Overrides:
getParameters in class AuthenticationHeader

getAuthScheme

public java.lang.String getAuthScheme()
Gets the athentication scheme. Note that for AuthenticationInfoHeader it always return null.
Overrides:
getAuthScheme in class AuthenticationHeader

MjSip Stack
v1.6