Save This Page
Home » HttpComponents-Core-4.0.1 » org.apache.http.contrib.sip » [javadoc | source]
org.apache.http.contrib.sip
public class: BasicCompactHeader [javadoc | source]
java.lang.Object
   org.apache.http.message.BasicHeader
      org.apache.http.contrib.sip.BasicCompactHeader

All Implemented Interfaces:
    CompactHeader, Cloneable, Header

Represents a SIP (or HTTP) header field with optional compact name.
Constructor:
 public BasicCompactHeader(String fullname,
    String compactname,
    String value) 
    Constructor with names and value.
    Parameters:
    fullname - the full header name
    compactname - the compact header name, or null
    value - the header value
Method from org.apache.http.contrib.sip.BasicCompactHeader Summary:
getCompactName,   newHeader
Methods from org.apache.http.message.BasicHeader:
clone,   getElements,   getName,   getValue,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.http.contrib.sip.BasicCompactHeader Detail:
 public String getCompactName() 
 public static BasicCompactHeader newHeader(String name,
    String value,
    CompactHeaderMapper mapper) 
    Creates a compact header with automatic lookup.