Java Doc for HttpsServerHelper.java in  » Web-Services » restlet-1.0.8 » com » noelios » restlet » ext » jetty » 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 » Web Services » restlet 1.0.8 » com.noelios.restlet.ext.jetty 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.noelios.restlet.http.HttpServerHelper
   com.noelios.restlet.ext.jetty.JettyServerHelper
      com.noelios.restlet.ext.jetty.HttpsServerHelper

HttpsServerHelper
public class HttpsServerHelper extends JettyServerHelper (Code)
Jetty HTTPS server connector. Here is the list of additional parameters that are supported:
Parameter name Value type Default value Description
keystorePath String ${user.home}/.keystore SSL keystore path.
keystorePassword String SSL keystore password.
keystoreType String JKS SSL keystore type
keyPassword String SSL key password.
certAlgorithm String SunX509 SSL certificate algorithm.
sslProtocol String TLS SSL protocol.
secureRandomAlgorithm String null (see java.security.SecureRandom) Name of the RNG algorithm. (see java.security.SecureRandom class).
securityProvider String null (see javax.net.ssl.SSLContext) Java security provider name (see java.security.Provider class).
needClientAuthentication boolean false Indicates if we require client certificate authentication.
wantClientAuthentication boolean false Indicates if we would like client certificate authentication (only for the BIO connector type).
type int 2 The type of Jetty connector to use.
1 : Selecting NIO connector (Jetty's SslSelectChannelConnector class).
2 : Blocking BIO connector (Jetty's SslSocketConnector class).

See Also:    How * to configure SSL for Jetty
author:
   Jerome Louvel (contact@noelios.com)



Constructor Summary
public  HttpsServerHelper(Server server)
     Constructor.

Method Summary
protected  AbstractConnectorcreateConnector()
     Creates a new internal Jetty connector.
public  StringgetCertAlgorithm()
     Returns the SSL certificate algorithm.
public  StringgetKeyPassword()
     Returns the SSL key password.
public  StringgetKeystorePassword()
     Returns the SSL keystore password.
public  StringgetKeystorePath()
     Returns the SSL keystore path.
public  StringgetKeystoreType()
     Returns the SSL keystore type.
public  StringgetSecureRandomAlgorithm()
     Returns the name of the RNG algorithm.
public  StringgetSecurityProvider()
     Returns the Java security provider name.
public  StringgetSslProtocol()
     Returns the SSL keystore type.
public  intgetType()
     Returns the type of Jetty connector to use.
public  booleanisNeedClientAuthentication()
     Indicates if we require client certificate authentication.
public  booleanisUseNio()
     Indicates if we would use the NIO-based connector instead of the BIO one.
public  booleanisWantClientAuthentication()
     Indicates if we would like client certificate authentication.


Constructor Detail
HttpsServerHelper
public HttpsServerHelper(Server server)(Code)
Constructor.
Parameters:
  server - The server to help.




Method Detail
createConnector
protected AbstractConnector createConnector()(Code)
Creates a new internal Jetty connector. A new internal Jetty connector.



getCertAlgorithm
public String getCertAlgorithm()(Code)
Returns the SSL certificate algorithm. The SSL certificate algorithm.



getKeyPassword
public String getKeyPassword()(Code)
Returns the SSL key password. The SSL key password.



getKeystorePassword
public String getKeystorePassword()(Code)
Returns the SSL keystore password. The SSL keystore password.



getKeystorePath
public String getKeystorePath()(Code)
Returns the SSL keystore path. The SSL keystore path.



getKeystoreType
public String getKeystoreType()(Code)
Returns the SSL keystore type. The SSL keystore type.



getSecureRandomAlgorithm
public String getSecureRandomAlgorithm()(Code)
Returns the name of the RNG algorithm. The name of the RNG algorithm.



getSecurityProvider
public String getSecurityProvider()(Code)
Returns the Java security provider name. The Java security provider name.



getSslProtocol
public String getSslProtocol()(Code)
Returns the SSL keystore type. The SSL keystore type.



getType
public int getType()(Code)
Returns the type of Jetty connector to use. The type of Jetty connector to use.



isNeedClientAuthentication
public boolean isNeedClientAuthentication()(Code)
Indicates if we require client certificate authentication. True if we require client certificate authentication.



isUseNio
public boolean isUseNio()(Code)
Indicates if we would use the NIO-based connector instead of the BIO one. True if we would use the NIO-based connector instead of the BIOone.



isWantClientAuthentication
public boolean isWantClientAuthentication()(Code)
Indicates if we would like client certificate authentication. True if we would like client certificate authentication.



Methods inherited from com.noelios.restlet.ext.jetty.JettyServerHelper
protected void configure(AbstractConnector connector)(Code)(Java Doc)
abstract protected AbstractConnector createConnector()(Code)(Java Doc)
public int getAcceptQueueSize()(Code)(Java Doc)
public int getAcceptorThreads()(Code)(Java Doc)
public int getHeaderBufferSize()(Code)(Java Doc)
public int getIoMaxIdleTimeMs()(Code)(Java Doc)
public int getLowResourceMaxIdleTimeMs()(Code)(Java Doc)
public int getLowThreads()(Code)(Java Doc)
public int getMaxThreads()(Code)(Java Doc)
public int getMinThreads()(Code)(Java Doc)
public int getRequestBufferSize()(Code)(Java Doc)
public int getResponseBufferSize()(Code)(Java Doc)
public int getSoLingerTime()(Code)(Java Doc)
public int getThreadMaxIdleTimeMs()(Code)(Java Doc)
protected Server getWrappedServer()(Code)(Java Doc)
protected void setWrappedServer(Server wrappedServer)(Code)(Java Doc)
public void start() throws Exception(Code)(Java Doc)
public void stop() throws Exception(Code)(Java Doc)

Methods inherited from com.noelios.restlet.http.HttpServerHelper
public HttpServerConverter getConverter()(Code)(Java Doc)
public void handle(HttpServerCall httpCall)(Code)(Java Doc)
public void setConverter(HttpServerConverter converter)(Code)(Java Doc)

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