Package org.osgi.service.http

Description

The OSGi HttpService Specification.

HttpService allows other bundles in the OSGi Framework to register resources and servlets to be accessed via Hypertext Transfer Protocol (HTTP). HttpService may implement either HTTP/1.0 (http://www.ietf.org/rfc/rfc1945.txt) or HTTP/1.1 (http://www.ietf.org/rfc/rfc2616.txt).

Two entity types can be registered with HttpService: servlets and resources. A servlet is an object which implements the Java Servlet API (http://java.sun.com/products/servlet/). Registering a servlet gives that servlet control over some part of the URI namespace. Registering resources allows HTML files, GIF files, class files, etc. to be made visible in the URI namespace by the requesting bundle. ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.