Package gov.nist.javax.sip.header.ims

Examples of gov.nist.javax.sip.header.ims.ServiceRouteList


   * @return SIPHeader the RecordRoute List object
   * @throws ParseException if errors occur during the parsing
   */
 
  public SIPHeader parse() throws ParseException {
    ServiceRouteList serviceRouteList = new ServiceRouteList();

    if (debug)
      dbg_enter("ServiceRouteParser.parse");

    try {
      this.lexer.match(TokenTypes.SERVICE_ROUTE);
      this.lexer.SPorHT();
      this.lexer.match(':');
      this.lexer.SPorHT();
      while (true) {
        ServiceRoute serviceRoute = new ServiceRoute();
        super.parse(serviceRoute);
        serviceRouteList.add(serviceRoute);
        this.lexer.SPorHT();
        if (lexer.lookAhead(0) == ',') {
          this.lexer.match(',');
          this.lexer.SPorHT();
        } else if (lexer.lookAhead(0) == '\n')
View Full Code Here


     * @return SIPHeader the RecordRoute List object
     * @throws ParseException if errors occur during the parsing
     */

    public SIPHeader parse() throws ParseException {
        ServiceRouteList serviceRouteList = new ServiceRouteList();

        if (debug)
            dbg_enter("ServiceRouteParser.parse");

        try {
            this.lexer.match(TokenTypes.SERVICE_ROUTE);
            this.lexer.SPorHT();
            this.lexer.match(':');
            this.lexer.SPorHT();
            while (true) {
                ServiceRoute serviceRoute = new ServiceRoute();
                super.parse(serviceRoute);
                serviceRouteList.add(serviceRoute);
                this.lexer.SPorHT();
                if (lexer.lookAhead(0) == ',') {
                    this.lexer.match(',');
                    this.lexer.SPorHT();
                } else if (lexer.lookAhead(0) == '\n')
View Full Code Here

TOP

Related Classes of gov.nist.javax.sip.header.ims.ServiceRouteList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.