Home
last modified time | relevance | path

Searched refs:retryAfter (Results 1 – 10 of 10) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
DRetryAfter.java59 protected Integer retryAfter = new Integer(0); field in RetryAfter
77 if (retryAfter != null) in encodeBody()
78 s.append(retryAfter); in encodeBody()
119 public void setRetryAfter(int retryAfter) throws InvalidArgumentException { in setRetryAfter() argument
120 if (retryAfter < 0) in setRetryAfter()
122 "invalid parameter " + retryAfter); in setRetryAfter()
123 this.retryAfter = Integer.valueOf(retryAfter); in setRetryAfter()
135 return retryAfter.intValue(); in getRetryAfter()
DSubscriptionState.java53 protected int retryAfter; field in SubscriptionState
61 retryAfter = -1; in SubscriptionState()
96 public void setRetryAfter(int retryAfter) throws InvalidArgumentException { in setRetryAfter() argument
97 if (retryAfter <= 0) in setRetryAfter()
101 this.retryAfter = retryAfter; in setRetryAfter()
111 return retryAfter; in getRetryAfter()
177 if (retryAfter != -1) in encodeBody()
178 buffer.append(";retry-after=").append(retryAfter); in encodeBody()
DHeaderFactoryImpl.java878 public RetryAfterHeader createRetryAfterHeader(int retryAfter) in createRetryAfterHeader() argument
880 if (retryAfter < 0) in createRetryAfterHeader()
883 r.setRetryAfter(retryAfter); in createRetryAfterHeader()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DRetryAfterParser.java50 public RetryAfterParser(String retryAfter) { in RetryAfterParser() argument
51 super(retryAfter); in RetryAfterParser()
72 RetryAfter retryAfter = new RetryAfter(); in parse() local
80 retryAfter.setRetryAfter(ds); in parse()
90 retryAfter.setComment(comment); in parse()
106 retryAfter.setDuration(duration); in parse()
119 retryAfter.setParameter(value, secondValue); in parse()
128 return retryAfter; in parse()
DSubscriptionStateParser.java115 int retryAfter = Integer.parseInt(value); in parse() local
116 subscriptionState.setRetryAfter(retryAfter); in parse()
/external/nist-sip/java/javax/sip/header/
DRetryAfterHeader.java19 void setRetryAfter(int retryAfter) throws InvalidArgumentException; in setRetryAfter() argument
DSubscriptionStateHeader.java25 void setRetryAfter(int retryAfter) throws InvalidArgumentException; in setRetryAfter() argument
DHeaderFactory.java133 RetryAfterHeader createRetryAfterHeader(int retryAfter) in createRetryAfterHeader() argument
/external/nist-sip/java/gov/nist/javax/sip/stack/
DTLSMessageChannel.java496 RetryAfter retryAfter = new RetryAfter(); in processMessage() local
500 retryAfter.setRetryAfter((int) (10 * (Math.random()))); in processMessage()
501 response.setHeader(retryAfter); in processMessage()
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java116 RetryAfter retryAfter = new RetryAfter(); in sendRequestPendingResponse() local
117 retryAfter.setRetryAfter(1); in sendRequestPendingResponse()
118 sipResponse.setHeader(retryAfter); in sendRequestPendingResponse()
241 RetryAfter retryAfter = new RetryAfter(); in sendServerInternalErrorResponse() local
242 retryAfter.setRetryAfter(10); in sendServerInternalErrorResponse()
243 sipResponse.setHeader(retryAfter); in sendServerInternalErrorResponse()