Source Code Cross Referenced for ErrorResponse.java in  » Portal » Open-Portal » com » sun » portal » rproxy » connectionhandler » 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 » Portal » Open Portal » com.sun.portal.rproxy.connectionhandler 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * $Id: ErrorResponse.java,v 1.6 2005/03/07 06:28:18 np145014 Exp $
03:         * $Source: /m/portal/ps/srap/src/com/sun/portal/rproxy/connectionhandler/ErrorResponse.java,v $
04:         * $Log: ErrorResponse.java,v $
05:         * Revision 1.6  2005/03/07 06:28:18  np145014
06:         * CR 6223492 Updated P2 portalserver/erproxy SRA should use the monitoring framework and provide monitoring metadata.
07:         *
08:         * Revision 1.5  2005/03/01 10:29:24  np145014
09:         * CR 6224556
10:         *
11:         * Revision 1.4  2005/03/01 10:17:23  np145014
12:         * CR 6224556
13:         *
14:         * Revision 1.3  2005/02/24 07:36:44  ss150821
15:         * RFE 6223490 - SRA Should use JDK based logging
16:         *
17:         * Revision 1.2  2005/02/23 09:15:05  ss150821
18:         * RFE 6223490 - SRA Should use JDK based logging
19:         *
20:         * Revision 1.1  2002/06/14 09:53:51  rt130506
21:         * SRAP rebranding
22:         *
23:         * Revision 1.4  2002/06/11 16:02:03  bv131302
24:         * new branded
25:         *
26:         * Revision 1.3  2002/04/10 13:06:15  mm132998
27:         * Bug ID : # 4665772 , CRT : # 770 , Desc : Charset Migration to iDSAME.
28:         *
29:         * Revision 1.2  2002/02/27 13:27:38  mm132998
30:         * Bug ID # 4643783 , CRT : 378 , Desc : If connection is denied , the portal must display a customizable error message.
31:         *
32:         *
33:         */
34:        /*
35:         * ErrorResponse.java
36:         *
37:         * $Author: np145014 $
38:         *
39:         * $Date: 2005/03/07 06:28:18 $ $Revision: 1.6 $
40:         *
41:         * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
42:         *
43:         * Developed by SunPS and SunIR
44:         */
45:
46:        package com.sun.portal.rproxy.connectionhandler;
47:
48:        import com.sun.portal.rproxy.monitoring.MonitoringSubsystem;
49:        import com.sun.portal.rproxy.monitoring.util.RProxyEvent;
50:
51:        /**
52:         * This represents a single error response.
53:         * 
54:         * @author Gabriel Lawrence
55:         */
56:        public class ErrorResponse extends HeaderResponse {
57:            // public static final String ERRORMESSAGE="ErrorMessage";
58:            private static final String STATUS_CODE = "502";
59:
60:            private static final String STATUS_TEXT = "Bad Gateway";
61:            {
62:                MonitoringSubsystem.handleEvent(RProxyEvent.SERVER_ERROR);
63:            }
64:
65:            // Lihue PRD : 8.2
66:            public ErrorResponse(String message, com.iplanet.sso.SSOToken token) {
67:                super (message, STATUS_CODE, STATUS_TEXT, token);
68:            }
69:
70:            public ErrorResponse(String message, String status_text,
71:                    com.iplanet.sso.SSOToken token) {
72:                super (message, STATUS_CODE, status_text, token);
73:            }
74:
75:            public ErrorResponse(String message,
76:                    com.iplanet.sso.SSOToken token, String language) {
77:                // super(ERRORMESSAGE, message, STATUS_CODE, STATUS_TEXT, token);
78:                super (message, STATUS_CODE, STATUS_TEXT, token, language);
79:            }
80:
81:            public ErrorResponse(String message, String status_text,
82:                    com.iplanet.sso.SSOToken token, String language) {
83:                // super(ERRORMESSAGE, message, STATUS_CODE, status_text, token);
84:                super (message, STATUS_CODE, status_text, token, language);
85:            }
86:            // EOC : Lihue PRD : 8.2
87:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.