Codota Logo
RequestLine.setUri
Code IndexAdd Codota to your IDE (free)

How to use
setUri
method
in
gov.nist.javax.sip.header.RequestLine

Best Java code snippets using gov.nist.javax.sip.header.RequestLine.setUri (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.jitsi/jain-sip-ri-ossonly

/**
 * Sets the RequestURI of Request. The Request-URI is a SIP or SIPS URI or a general URI. It
 * indicates the user or service to which this request is being addressed. SIP elements MAY
 * support Request-URIs with schemes other than "sip" and "sips", for example the "tel" URI
 * scheme. SIP elements MAY translate non-SIP URIs using any mechanism at their disposal,
 * resulting in SIP URI, SIPS URI, or some other scheme.
 * 
 * @param uri the new Request URI of this request message
 */
public void setRequestURI(URI uri) {
  if ( uri == null ) {
    throw new NullPointerException("Null request URI");
  }
  if (this.requestLine == null) {
    this.requestLine = new RequestLine();
  }
  this.requestLine.setUri((GenericURI) uri);
  this.nullRequest = false;
}
origin: org.jitsi/jain-sip-ri-ossonly

public RequestLine parse() throws ParseException {
  if (debug)
    dbg_enter("parse");
  try {
    RequestLine retval = new RequestLine();
    String m = method();
    lexer.SPorHT();
    retval.setMethod(m);
    this.lexer.selectLexer("sip_urlLexer");
    URLParser urlParser = new URLParser(this.getLexer());
    GenericURI url = urlParser.uriReference(true);
    lexer.SPorHT();
    retval.setUri(url);
    this.lexer.selectLexer("request_lineLexer");
    String v = sipVersion();
    retval.setSipVersion(v);
    lexer.SPorHT();
    lexer.match('\n');
    return retval;
  } finally {
    if (debug)
      dbg_leave("parse");
  }
}
origin: org.mobicents.javax.sip/mobicents-jain-sip-ext

public RequestLine parse() throws ParseException {
  if (debug)
    dbg_enter("parse");
  try {
    RequestLine retval = new RequestLine();
    String m = method();
    lexer.SPorHT();
    retval.setMethod(m);
    this.lexer.selectLexer("sip_urlLexer");
    URLParser urlParser = new URLParser(this.getLexer());
    GenericURI url = urlParser.uriReference(true);
    lexer.SPorHT();
    retval.setUri(url);
    this.lexer.selectLexer("request_lineLexer");
    String v = sipVersion();
    retval.setSipVersion(v);
    lexer.SPorHT();
    lexer.match('\n');
    return retval;
  } finally {
    if (debug)
      dbg_leave("parse");
  }
}
gov.nist.javax.sip.headerRequestLinesetUri

Popular methods of RequestLine

  • <init>
    Constructor given the request URI and the method.
  • encode
  • getUri
  • setMethod
  • setSipVersion
  • clone
  • debugDump
  • equals
    Compare for equality.
  • getMethod
  • getSipVersion
  • match
  • toString
  • match,
  • toString

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • setContentView (Activity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now