sipheader.java
来自「jsr-180 (SIP) 实现源码。可以在真实手机上使用」· Java 代码 · 共 52 行
JAVA
52 行
package com.micromethod.sipstack.i;
import com.micromethod.sipstack.ri.Header;
public class SipHeader {
private Header a = null;
public SipHeader(String s, String s1) throws IllegalArgumentException {
a = new Header(s, s1);
}
public void setName(String s) throws IllegalArgumentException {
a.setName(s);
}
public String getName() {
return a.getName();
}
public String getValue() {
return a.getValue();
}
public String getHeaderValue() {
return a.getHeaderValue();
}
public void setValue(String s) throws IllegalArgumentException {
a.setValue(s);
}
public String getParameter(String s) {
return a.getParameter(s);
}
public String[] getParameterNames() {
return a.getParameterNames();
}
public void setParameter(String s, String s1) throws IllegalArgumentException {
a.resetParameter(s, s1);
}
public void removeParameter(String s) {
a.removeParameter(s);
}
public String toString() {
return a.toString();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?