Java Doc for ContentDispositionHeader.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » sip » header » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.sip.header 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sip.header.ContentDispositionHeader

ContentDispositionHeader
public interface ContentDispositionHeader extends Parameters,Header(Code)
The Content-Disposition header field describes how the message body or, for multipart messages, a message body part is to be interpreted by the UAC or UAS. This SIP header field extends the MIME Content-Type. Several new "disposition-types" of the Content-Disposition header are defined by SIP, namely:-
  • session - indicates that the body part describes a session, for either calls or early (pre-call) media.
  • render - indicates that the body part should be displayed or otherwise rendered to the user.
  • icon - indicates that the body part contains an image suitable as an iconic representation of the caller or callee that could be rendered informationally by a user agent when a message has been received, or persistently while a dialog takes place.
  • alert - indicates that the body part contains information, such as an audio clip, that should be rendered by the user agent in an attempt to alert the user to the receipt of a request, generally a request that initiates a dialog.
For backward-compatibility, if the Content-Disposition header field is missing, the server SHOULD assume bodies of Content-Type application/sdp are the disposition "session", while other content types are "render".

If this header field is missing, the MIME type determines the default content disposition. If there is none, "render" is assumed.

For Example:
Content-Disposition: session
See Also:   ContentTypeHeader
See Also:   ContentLengthHeader
See Also:   ContentEncodingHeader
See Also:   ContentLanguageHeader
author:
   BEA Systems, NIST
version:
   1.2



Field Summary
final public static  StringALERT
    
final public static  StringICON
    
final public static  StringNAME
    
final public static  StringRENDER
    
final public static  StringSESSION
    


Method Summary
public  StringgetDispositionType()
     Gets the interpretation of the message body or message body part of this ContentDispositionHeader.
public  StringgetHandling()
     Gets the handling information of the unknown content disposition of the ContentDispositionHeader.
public  voidsetDispositionType(String dispositionType)
     Sets the interpretation value of the message body or message body part for this ContentDispositionHeader.
public  voidsetHandling(String handling)
     The handling parameter describes how the UAS should react if it receives a message body whose content type or disposition type it does not understand.

Field Detail
ALERT
final public static String ALERT(Code)
Alert Disposition Type Constant



ICON
final public static String ICON(Code)
Icon Disposition Type Constant



NAME
final public static String NAME(Code)
Name of ContentDispositionHeader



RENDER
final public static String RENDER(Code)
Render Disposition Type Constant



SESSION
final public static String SESSION(Code)
Session Disposition Type Constant





Method Detail
getDispositionType
public String getDispositionType()(Code)
Gets the interpretation of the message body or message body part of this ContentDispositionHeader. interpretation of the message body or message body part



getHandling
public String getHandling()(Code)
Gets the handling information of the unknown content disposition of the ContentDispositionHeader. handling information for unknown content dispositions.



setDispositionType
public void setDispositionType(String dispositionType) throws ParseException(Code)
Sets the interpretation value of the message body or message body part for this ContentDispositionHeader.
Parameters:
  dispositionType - the new String value of thedisposition type.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the dispositionType parameter.



setHandling
public void setHandling(String handling) throws ParseException(Code)
The handling parameter describes how the UAS should react if it receives a message body whose content type or disposition type it does not understand. The parameter has defined values of "optional" and "required". If the handling parameter is missing, the value "required" SHOULD be assumed.
Parameters:
  handling - the new String value either "optional"or "required".
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the handling parameter.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.