Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip.message;
 
Intefaces that will be supported by the next release of JAIN-SIP.

Author(s):
mranga
public interface MessageFactoryExt extends MessageFactory {
    
Set the common UserAgent header for all Requests created from this message factory. This header is applied to all Messages created from this Factory object except those that take String for an argument and create Message from the given String.

Parameters:
userAgent -- the user agent header to set.
    public void setDefaultUserAgentHeader(UserAgentHeader userAgent);


    
Set the common Server header for all Responses created from this message factory. This header is applied to all Messages created from this Factory object except those that take String for an argument and create Message from the given String.

Parameters:
userAgent -- the user agent header to set.
Since:
2.0
    public void setDefaultServerHeader(ServerHeader userAgent);

    
Set default charset used for encoding String content. Note that this will be applied to all content that is encoded. The default is UTF-8.

Parameters:
charset -- charset to set.
Throws:
java.lang.NullPointerException if null arg
java.lang.IllegalArgumentException if Charset is not a known charset.
Since:
2.0
    public  void setDefaultContentEncodingCharset(String charset)
            throws NullPointerException,IllegalArgumentException ;
    
    
Create a MultipartMime attachment from a list of content type, subtype and content.

Throws:
java.lang.NullPointerException, IllegalArgumentException
Since:
2.0
    public MultipartMimeContent createMultipartMimeContent(ContentTypeHeader multipartMimeContentTypeHeader,
            String[] contentType
            String[] contentSubtype
            String[] contentBody);
    
    
    
    
    
New to GrepCode? Check out our FAQ X