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

ProxyAuthorizationParser

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

Fields Summary
Constructors Summary
ProxyAuthorizationParser()
Default constructor.

public ProxyAuthorizationParser(String proxyAuthorization)
Constructor with initial proxty authorization string.

param
proxyAuthorization -- header to parse

        super(proxyAuthorization);
    
protected ProxyAuthorizationParser(Lexer lexer)
Constructor with initial lexer engine.

param
lexer initial lexer engine

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

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

        headerName(TokenTypes.PROXY_AUTHORIZATION);
        ProxyAuthorizationHeader proxyAuth =
                new ProxyAuthorizationHeader();
        super.parse(proxyAuth);
        return proxyAuth;