felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Felix > Apache Felix Light HTTP Service
Date Wed, 26 Oct 2011 06:36:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=FELIX&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Light+HTTP+Service">Apache
Felix Light HTTP Service</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~kgilmer">Ken
Gilmer</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >  * -A complete jar that also bundles
the OSGi and javax.servlet APIs.- <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h2.
Using the HttpService <br> <br>It is best to refer to the OSGi Compendium specification
for usage details. <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Configuration Properties <br>
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="ApacheFelixLightHTTPService-ApacheFelixLightHTTPService"></a>Apache
Felix Light HTTP Service</h1>

<div><a href='#ApacheFelixLightHTTPService-Installing'>Installing</a> |
<a href='#ApacheFelixLightHTTPService-ConfigurationProperties'>Configuration Properties</a></div>

<p>This is a <em>minimal</em> implementation of the HTTP Service Specification
as described in chapter 102 of the OSGi Compendium. The goal is to provide a basic HTTP Service
for resource-constrained devices and other use cases where the standard HTTP Service may be
overkill.  <b>The HTTP Lightweight Service is in a pre-release state and is expected
to contain some bugs.</b></p>

<h2><a name="ApacheFelixLightHTTPService-Installing"></a>Installing</h2>

<p>The Apache Felix Light HTTP Service project is packaged as:</p>

<ul>
	<li>A minimal jar that only provides the HTTP server and HTTP Service implementation.</li>
	<li><del>A complete jar that also bundles the OSGi and javax.servlet APIs.</del></li>
</ul>


<h2><a name="ApacheFelixLightHTTPService-ConfigurationProperties"></a>Configuration
Properties</h2>

<p>The service can only be configured using OSGi environment properties.  The following
properties are supported:</p>

<ul>
	<li><tt>org.osgi.service.http.port</tt> - The port used for servlets and
resources available via HTTP. The default is <tt>8080</tt>.</li>
	<li><tt>org.apache.felix.http.enable</tt> - Enable or disable the HTTP
protocol.  The default is enabled.</li>
	<li><tt>org.apache.felix.https.enable</tt> - Enable or disable the HTTPS
protocol.  Currently the lightweight HTTP Service does not support HTTPS, and setting this
to true will only result in a log warning.</li>
	<li><tt>felix.log.level</tt> - The log level for messages originating from
the bundle.  The default is 1.</li>
</ul>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Light+HTTP+Service">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27829703&revisedVersion=3&originalVersion=2">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Light+HTTP+Service?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message