Package org.zoolu.sip.provider

Examples of org.zoolu.sip.provider.SipParser


   /** Gets a String Vector of parameter names.
     * @returns a Vector of String. */
   public Vector getParameters()
   {  char[] name_separators={'=', ' ', '\t'};
      SipParser par=new SipParser(value);
      par.skipString(); // skip the auth_scheme
      par.skipWSPCRLF();
      Vector names=new Vector();
      while (par.hasMore())
      {  String name=par.getWord(name_separators);
         names.addElement(name);
         par.goToCommaHeaderSeparator().skipChar().skipWSPCRLF();
      }
      return names;
   }
View Full Code Here


      return names;
   }

   /** Gets the athentication scheme (i.e. the first token). */
   public String getAuthScheme()
   {  SipParser par=new SipParser(value);
      return par.getString();
   }
View Full Code Here

TOP

Related Classes of org.zoolu.sip.provider.SipParser

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.