|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.javax.sip.header.NameMap
public class NameMap
A mapping class that returns the SIPHeader for a given header name. Add new classes to this map if you are implementing new header types if you want some of the introspection based methods to work.
Field Summary |
---|
Fields inherited from interface gov.nist.javax.sip.header.SIPHeaderNames |
---|
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALERT_INFO, ALLOW, ALLOW_EVENTS, AUTHENTICATION_INFO, AUTHORIZATION, CALL_ID, CALL_INFO, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, ERROR_INFO, EVENT, EXPIRES, FROM, IN_REPLY_TO, JOIN, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, MIN_SE, ORGANIZATION, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, RACK, REASON, RECORD_ROUTE, REFERRED_BY, REPLACES, REPLY_TO, REQUIRE, RETRY_AFTER, ROUTE, RSEQ, SERVER, SESSION_EXPIRES, SIP_ETAG, SIP_IF_MATCH, SUBJECT, SUBSCRIPTION_STATE, SUPPORTED, TIMESTAMP, TO, UNSUPPORTED, USER_AGENT, VIA, WARNING, WWW_AUTHENTICATE |
Fields inherited from interface gov.nist.core.PackageNames |
---|
CORE_PACKAGE, JAIN_HEADER_PACKAGE, JAIN_PACKAGE, MESSAGE_PACKAGE, NET_PACKAGE, PARSER_PACKAGE, SDP_PACKAGE, SDP_PARSER_PACKAGE, SIP_PACKAGE, SIPHEADERS_PACKAGE, STACK_PACKAGE |
Constructor Summary | |
---|---|
NameMap()
|
Method Summary | |
---|---|
static void |
addExtensionHeader(String headerName,
String className)
add an extension header to this map. |
static Class |
getClassFromName(String headerName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameMap()
Method Detail |
---|
public static Class getClassFromName(String headerName)
public static void addExtensionHeader(String headerName, String className)
headerName
- is the extension header name.className
- is the fully qualified class name that implements
the header (does not have to belong to the nist-sip package).
Use this if you want to use the introspection-based methods.
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |