Java Doc for JettyHTTPServerEngine.java in  » Web-Services-apache-cxf-2.0.1 » transports » org » apache » cxf » transport » http_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 apache cxf 2.0.1 » transports » org.apache.cxf.transport.http_jetty 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine

JettyHTTPServerEngine
public class JettyHTTPServerEngine implements ServerEngine(Code)
This class is the Jetty HTTP Server Engine that is configured to work off of a designated port. The port will be enabled for "http" or "https" depending upon its successful configuration.



Constructor Summary
 JettyHTTPServerEngine(JettyHTTPServerEngineFactory fac, Bus bus, int port)
     This constructor is called by the JettyHTTPServerEngineFactory.
public  JettyHTTPServerEngine()
    

Method Summary
public synchronized  voidaddServant(URL url, JettyHTTPHandler handler)
     Register a servant.
protected  voidfinalizeConfig()
     This method is called after configure on this object.
public  ConnectorgetConnector()
    
public synchronized  ContextHandlergetContextHandler(URL url)
     Get a registered context handler.
protected  JettyConnectorFactorygetHTTPConnectorFactory()
     This method creates a connector factory.
protected  JettyConnectorFactorygetHTTPSConnectorFactory(TLSServerParameters tlsParams)
    
public  List<Handler>getHandlers()
    
public  intgetPort()
     Returns the port number for which this server engine was configured.
public  StringgetProtocol()
     Returns the protocol "http" or "https" for which this engine was configured.
public synchronized  HandlergetServant(URL url)
     Get a registered servant.
public  ServergetServer()
    
public  ThreadingParametersgetThreadingParameters()
     This method returns the threading parameters that have been set.
public  TLSServerParametersgetTlsServerParameters()
     This method returns the programmatically set TLSServerParameters, not the TLSServerParametersType, which is the JAXB generated type used in SpringConfiguration.
public  booleanisSessionSupport()
    
public  booleanisSetThreadingParameters()
     This method returns whether the threading parameters are set.
public synchronized  voidremoveServant(URL url)
     Remove a previously registered servant.
protected  voidretrieveListenerFactory()
    
public  voidsetBus(Bus b)
     The bus.
public  voidsetConnector(Connector c)
    
public  voidsetHandlers(List<Handler> h)
    
public  voidsetJettyHTTPServerEngineFactory(JettyHTTPServerEngineFactory fac)
    
public  voidsetPort(int p)
    
public  voidsetServer(Server s)
    
public  voidsetSessionSupport(boolean support)
    
public  voidsetThreadingParameters(ThreadingParameters params)
     This method sets the threading parameters for this particular server engine.
public  voidsetTlsServerParameters(TLSServerParameters params)
     This method is used to programmatically set the TLSServerParameters.
public  voidshutdown()
     This method will shut down the server engine and remove it from the factory's cache.
protected  voidstop()
     This method is called by the ServerEngine Factory to destroy the listener.


Constructor Detail
JettyHTTPServerEngine
JettyHTTPServerEngine(JettyHTTPServerEngineFactory fac, Bus bus, int port)(Code)
This constructor is called by the JettyHTTPServerEngineFactory.



JettyHTTPServerEngine
public JettyHTTPServerEngine()(Code)




Method Detail
addServant
public synchronized void addServant(URL url, JettyHTTPHandler handler)(Code)
Register a servant.
Parameters:
  url - the URL associated with the servant
Parameters:
  handler - notified on incoming HTTP requests



finalizeConfig
protected void finalizeConfig() throws GeneralSecurityException, IOException(Code)
This method is called after configure on this object.



getConnector
public Connector getConnector()(Code)



getContextHandler
public synchronized ContextHandler getContextHandler(URL url)(Code)
Get a registered context handler.
Parameters:
  url - the associated URL the HttpHandler if registered



getHTTPConnectorFactory
protected JettyConnectorFactory getHTTPConnectorFactory()(Code)
This method creates a connector factory. If there are TLS parameters then it creates a TLS enabled one.



getHTTPSConnectorFactory
protected JettyConnectorFactory getHTTPSConnectorFactory(TLSServerParameters tlsParams)(Code)
This method creates a connector factory enabled with the JSSE



getHandlers
public List<Handler> getHandlers()(Code)



getPort
public int getPort()(Code)
Returns the port number for which this server engine was configured.



getProtocol
public String getProtocol()(Code)
Returns the protocol "http" or "https" for which this engine was configured.



getServant
public synchronized Handler getServant(URL url)(Code)
Get a registered servant.
Parameters:
  url - the associated URL the HttpHandler if registered



getServer
public Server getServer()(Code)
get the jetty server instance



getThreadingParameters
public ThreadingParameters getThreadingParameters()(Code)
This method returns the threading parameters that have been set. This method may return null, if the threading parameters have not been set.



getTlsServerParameters
public TLSServerParameters getTlsServerParameters()(Code)
This method returns the programmatically set TLSServerParameters, not the TLSServerParametersType, which is the JAXB generated type used in SpringConfiguration.



isSessionSupport
public boolean isSessionSupport()(Code)



isSetThreadingParameters
public boolean isSetThreadingParameters()(Code)
This method returns whether the threading parameters are set.



removeServant
public synchronized void removeServant(URL url)(Code)
Remove a previously registered servant.
Parameters:
  url - the URL the servant was registered against.



retrieveListenerFactory
protected void retrieveListenerFactory()(Code)



setBus
public void setBus(Bus b)(Code)
The bus.



setConnector
public void setConnector(Connector c)(Code)
set the jetty server's connector
Parameters:
  c -



setHandlers
public void setHandlers(List<Handler> h)(Code)
set the jetty server's handlers
Parameters:
  h -



setJettyHTTPServerEngineFactory
public void setJettyHTTPServerEngineFactory(JettyHTTPServerEngineFactory fac)(Code)



setPort
public void setPort(int p)(Code)



setServer
public void setServer(Server s)(Code)
Set the jetty server instance
Parameters:
  s -



setSessionSupport
public void setSessionSupport(boolean support)(Code)



setThreadingParameters
public void setThreadingParameters(ThreadingParameters params)(Code)
This method sets the threading parameters for this particular server engine. This method may only be called by the factory.



setTlsServerParameters
public void setTlsServerParameters(TLSServerParameters params) throws IOException(Code)
This method is used to programmatically set the TLSServerParameters. This method may only be called by the factory.
throws:
  IOException -



shutdown
public void shutdown()(Code)
This method will shut down the server engine and remove it from the factory's cache.



stop
protected void stop() throws Exception(Code)
This method is called by the ServerEngine Factory to destroy the listener.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.