All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.httpcontexts.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         Provides an OSGi Http Service HttpContext identified by id.
      
   

   
      
         
            
         
         
            
               

               
            
         
         
            
               

               
            
         
         
            
               

               
               
                  
               
            
         
      
   

   
      
         
            
         
      
      
         
            
            
         
         
            
               
                  The identifier associate with this httpcontext. Outside of this bundle it must be referred to by its full name including bundle namespace.
               
            
         
         
            
               
                  The equivalent of the OSGi Http Services "httpcontext" in registerServlet and registerResource. The HttpContext is instantiated by the Extension Point provider and must be an instance of org.osgi.service.http.HttpContext.
               
               
                  
               
            
         
      
   

   
      
         
            
         
         
            Similar to the Servlet Specification and its deployment descriptor's mime-mapping elements.
         
      
      
         
            
               
                  The file extension to associate. For example: ps
               
            
         
         
            
               
                  The associated mime-type. For example: application/postscript
               
            
         
      
   

   
      
         
            
               
                  The bundle path where resources can be loaded from.
               
            
         
         
            
               
                  The bundle from where resources are loaded from. If the "bundle" attribute is not present the contributing bundle is used.
               
            
         
      
   

   
      
         
      
      
         1.0
      
   

   
      
         
      
      
         The following is an example of the <code>httpcontexts</code> extension:
<pre>
     <extension
           id="testHttpcontext"
           point="org.eclipse.rap.http.registry.httpcontexts">
        <httpcontext
              id="testintest">
           <resource-mapping path="/test"/>
        </httpcontext>
     </extension>
</pre>

This httpcontexts extension will make resources from "/test" in the contributing bundle accessible via the OSGi Http Service's HttpContext getResource method.
      
   

   
      
         
      
      
         The httpcontext class must be an instance of org.osgi.service.http.HttpContext.
      
   

   
      
         
      
      

      
   

   
      
         
      
      
         Copyright (c) 2005-2007 Cognos Incorporated, IBM Corporation and others
<br>

This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
<a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/

SPDX-License-Identifier: EPL-2.0.
<br>
Contributors:<br>
Cognos Incorporated - initial API and implementation<br>
IBM Corporation - bug fixes and enhancements<br>
      
   






© 2015 - 2025 Weber Informatics LLC | Privacy Policy