FileDocCategorySizeDatePackage
ProxyAuthenticateParser.javaAPI DocphoneME MR2 API (J2ME)2377Wed May 02 18:00:42 BST 2007gov.nist.siplite.parser

ProxyAuthenticateParser

public class ProxyAuthenticateParser extends ChallengeParser
Parser for ProxyAuthenticate headers.
version
JAIN-SIP-1.1 This code is in the public domain.

Fields Summary
Constructors Summary
ProxyAuthenticateParser()
Default constructor.

public ProxyAuthenticateParser(String proxyAuthenticate)
Constructor with initial proxy authentication string.

param
proxyAuthenticate String paAuthenticate message to parse

        super(proxyAuthenticate);
    
protected ProxyAuthenticateParser(Lexer lexer)
Constructor with initial lexer engine.

param
lexer initial lexer engine

        super(lexer);
    
Methods Summary
public Headerparse()
parse the String message

return
Header (ProxyAuthenticate object)
throws
ParseException if the message does not respect the spec.

        headerName(TokenTypes.PROXY_AUTHENTICATE);
        ProxyAuthenticateHeader proxyAuthenticate =
                new ProxyAuthenticateHeader();
        super.parse(proxyAuthenticate);
        return proxyAuthenticate;