summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-10-29 16:16:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-29 16:16:28 -0700
commit0fed1c87a58eb12ad1147962fb87793981ce3de9 (patch)
tree2c41df792b6ff4101aa511d384e6f4ec2b3ec427
parentb6fa77955b14adc963dfe4595df520cb9118408e (diff)
parent96f517ad51c3afe83f4d12e78beba1122f5dc877 (diff)
downloadnist-sip-0fed1c87a58eb12ad1147962fb87793981ce3de9.tar.gz
am bbc3513f: New implementations of interfaces.
* commit 'bbc3513f94e6aebfe2fae858ebbafbec7b4a8513': New implementations of interfaces.
-rw-r--r--java/gov/nist/javax/sip/header/extensions/ReferredByHeader.java26
-rw-r--r--java/gov/nist/javax/sip/header/extensions/ReplacesHeader.java32
2 files changed, 58 insertions, 0 deletions
diff --git a/java/gov/nist/javax/sip/header/extensions/ReferredByHeader.java b/java/gov/nist/javax/sip/header/extensions/ReferredByHeader.java
new file mode 100644
index 0000000..ef7477f
--- /dev/null
+++ b/java/gov/nist/javax/sip/header/extensions/ReferredByHeader.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2010 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package gov.nist.javax.sip.header.extensions;
+
+import javax.sip.header.Header;
+import javax.sip.header.HeaderAddress;
+import javax.sip.header.Parameters;
+
+public interface ReferredByHeader extends Header, HeaderAddress, Parameters {
+
+ String NAME = "Referred-By";
+}
diff --git a/java/gov/nist/javax/sip/header/extensions/ReplacesHeader.java b/java/gov/nist/javax/sip/header/extensions/ReplacesHeader.java
new file mode 100644
index 0000000..305bc7a
--- /dev/null
+++ b/java/gov/nist/javax/sip/header/extensions/ReplacesHeader.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2010 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package gov.nist.javax.sip.header.extensions;
+
+import java.text.ParseException;
+import javax.sip.header.Header;
+import javax.sip.header.Parameters;
+
+public interface ReplacesHeader extends Header, Parameters {
+
+ String NAME = "Replaces";
+ String getToTag();
+ void setToTag(String tag) throws ParseException;
+ String getFromTag();
+ void setFromTag(String tag) throws ParseException;
+ String getCallId();
+ void setCallId(String callId) throws ParseException;
+} \ No newline at end of file