SimpleHttpServerFactoryBean()
org.springframework.beans.factory.FactoryBean that creates a simple HTTP server, based on the HTTP server that is included in Sun's JRE 1.6. Starts the HTTP server on initialization and stops it on destruction. Exposes the resulting com.sun.net.httpserver.HttpServer object.
Allows for registering com.sun.net.httpserver.HttpHandler for specific context paths. Alternatively, register such context-specific handlers programmatically on the com.sun.net.httpserver.HttpServer itself.
Author
Juergen Hoeller
Author
Arjen Poutsma
Since
2.5.1
See Also
#setPort#setContexts