Searched refs:Via (Results 1 - 23 of 23) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
H A DViaList.java45 public final class ViaList extends SIPHeaderList<Via> {
57 super(Via.class, ViaHeader.NAME);
H A DVia.java43 * Via SIPHeader (these are strung together in a ViaList).
54 public class Via class in inherits:ParametersHeader,javax.sip.header.ViaHeader,ViaHeaderExt
67 /** The "received" parameter is added only for receiver-added Via Fields.
94 * JvB note: RFC3261 does not allow a comment to appear in Via headers, and this
103 public Via() { method in class:Via
181 /** port of the Via Header.
188 /** comment of the Via Header.
217 /** set the Host of the Via Header
384 + "Via, setTransport(), the transport parameter is null.");
413 + "Via, setProtoco
[all...]
H A DNameMap.java109 putNameMap(VIA, Via.class.getName()); //16
H A DHeaderFactoryImpl.java1076 Via via = new Via();
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DViaParser.java54 private void parseVia(Via v) throws ParseException {
98 if (name.equals(Via.BRANCH)) {
109 // JvB Note: RFC3261 does not allow a comment in Via headers anymore
163 if (name.getTokenValue().compareToIgnoreCase(Via.RECEIVED) == 0) {
209 Via v = new Via();
232 * via[] = { "Via: SIP/2.0/UDP 135.180.130.133;branch=-12345\n", "Via:
234 * 166.35.224.216:5000\n", "Via: SIP/2.0/UDP sip33.example.com,"+ "
236 * "Via
[all...]
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DMessageProcessor.java32 import gov.nist.javax.sip.header.Via;
159 * Get the Via header to assign for this message processor. The topmost via
164 public Via getViaHeader() {
166 Via via = new Via();
H A DTCPMessageChannel.java368 || hdrClass.equals(CSeq.class) || hdrClass.equals(Via.class)
436 Via v = (Via) viaList.getFirst();
451 if (v.hasParameter(Via.RPORT)
453 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress());
456 // JvB: technically, may only do this when Via already
459 v.setParameter(Via.RPORT, Integer.toString(this.peerPort));
H A DTLSMessageChannel.java348 || hdrClass.equals(CSeq.class) || hdrClass.equals(Via.class)
411 Via v = (Via) viaList.getFirst();
423 if (v.hasParameter(Via.RPORT)
425 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress());
428 // JvB: technically, may only do this when Via already contains
430 v.setParameter(Via.RPORT, Integer.toString(this.peerPort));
H A DUDPMessageChannel.java43 import gov.nist.javax.sip.header.Via;
410 + sipMessage.getCSeq() + "Via = "
419 Via v = (Via) viaList.getFirst();
432 boolean hasRPort = v.hasParameter(Via.RPORT);
436 v.setParameter(Via.RECEIVED, this.peerAddress
441 v.setParameter(Via.RPORT, Integer
454 this.peerProtocol = ((Via) viaList.getFirst()).getTransport();
590 || hdrClass.equals(Via.class)
684 // Via i
[all...]
H A DMessageChannel.java39 import gov.nist.javax.sip.header.Via;
307 * Get the Via header for this transport. Note that this does not set a branch identifier.
311 public Via getViaHeader() {
312 Via channelViaHeader;
314 channelViaHeader = new Via();
H A DSIPTransaction.java35 import gov.nist.javax.sip.header.Via;
67 * Via header for a message.
376 // Branch value of topmost Via header
404 newBranch = ((Via) newOriginalRequest.getViaHeaders().getFirst())
480 * Sets the Via header branch parameter used to identify this transaction.
703 * Returns the Via header for this channel. Gets the Via header of the
707 public Via getViaHeader() {
708 // Via header of the encapulated channel
709 Via channelViaHeade
[all...]
H A DSIPClientTransaction.java40 import gov.nist.javax.sip.header.Via;
347 // List of Via headers in the message to test
351 String messageBranch = ((Via) viaHeaders.getFirst()).getBranch();
363 ((Via) viaHeaders.getFirst()).getBranch())
373 if (getBranch().equalsIgnoreCase(((Via) viaHeaders.getFirst()).getBranch())) {
410 Via topVia = (Via) transactionRequest.getViaHeaders().getFirst();
1261 public Via getOutgoingViaHeader() {
H A DSIPServerTransaction.java36 import gov.nist.javax.sip.header.Via;
408 // The server transport uses the value of the top Via header field
429 Via via = transactionResponse.getTopmostVia();
444 // Otherwise, if the Via header field value contains a
458 // if the top Via has a "received" parameter, the response
466 host = via.getParameter(Via.RECEIVED);
550 // List of Via headers in the message to test
552 // Topmost Via header in the list
553 Via topViaHeader;
554 // Branch code in the topmost Via heade
[all...]
H A DSIPDialog.java57 import gov.nist.javax.sip.header.Via;
1926 Via via = lp.getViaHeader();
2044 Via via = ((SIPClientTransaction) clientTransactionId).getOutgoingViaHeader();
2420 // Only used to find correct LP & create correct Via
2452 List<Via> vias = new ArrayList<Via>();
2453 // Via via = lp.getViaHeader();
2459 Via via = this.lastResponse.getTopmostVia();
H A DSIPTransactionStack.java44 import gov.nist.javax.sip.header.Via;
910 Via via = sipMessage.getTopmostVia();
936 Via via = sipMessage.getTopmostVia();
/external/nist-sip/java/gov/nist/javax/sip/
H A DUtils.java31 import gov.nist.javax.sip.header.Via;
183 Via topmostVia = response.getTopmostVia();
H A DListeningPointImpl.java43 import gov.nist.javax.sip.header.Via;
217 public Via getViaHeader() {
H A DSipProviderImpl.java35 import gov.nist.javax.sip.header.Via;
293 Via via = lp.getViaHeader();
387 Via topmostVia = sipRequest.getTopmostVia();
693 * JvB: Via branch should already be OK, dont touch it here? Some
698 Via via = sipRequest.getTopmostVia();
744 Via via = sipResponse.getTopmostVia();
753 // check to see if Via has "received paramaeter". If so
755 // Via host.
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DSIPResponse.java47 import gov.nist.javax.sip.header.Via;
418 throw new ParseException(Via.NAME+ " Is missing ", 0);
620 * Sets the Via branch for CANCEL or ACK requests
626 private final void setBranch( Via via, String method ) {
676 * @param via -- the Via header to assign to the request
682 public SIPRequest createRequest(SipUri requestURI, Via via, CSeq cseq, From from, To to) {
H A DListMap.java67 headerListTable.put(Via.class, ViaList.class);
H A DSIPMessage.java67 import gov.nist.javax.sip.header.Via;
413 // in the topmost Via header
816 * @return A string containing the concatenation of various portions of the From,To,Via and
830 Via topVia = null;
832 topVia = (Via) this.getViaHeaders().getFirst();
995 * Get the Via list of headers (null if one does not exist).
997 * @return List containing Via headers.
1014 Via via = (Via) it.next();
1026 public void setHeader(SIPHeaderList<Via> sipHeaderLis
[all...]
H A DSIPRequest.java767 * constructed by a client MUST have only a single Via header field value matching the top
768 * Via value in the request being cancelled. Using the same values for these header fields
868 // The ACK MUST contain a single Via header field,
869 // and this MUST be equal to the top Via header
911 * single Via header field, and this MUST be equal to the top Via header field of the
963 * <li>Via header is not included from the original request. </li>
992 Via via = (Via) (((ViaList) nextHeader).getFirst().clone());
1075 Via vi
[all...]
H A DMessageFactoryImpl.java719 || headerClass == Via.class

Completed in 117 milliseconds