[jboss-jira] [JBoss JIRA] (AS7-351) Implement the HttpService ontop of JBossWeb

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jul 19 14:35:08 EDT 2012


    [ https://issues.jboss.org/browse/AS7-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706933#comment-12706933 ] 

Thomas Diesler edited comment on AS7-351 at 7/19/12 2:34 PM:
-------------------------------------------------------------

{code}
Wrapper osgiServletWrapper = context.createWrapper();
osgiServletWrapper.setName("???"); // Generate something ?
osgiServletWrapper.setServlet(servletInstance);
osgiServletWrapper.setServletClass(servletInstance.getClass().getName());
context.addChild(osgiServletWrapper);

context.addServletMapping(alias, "???");

// Must be added to the main mapper as no dynamic servlets usually
injectedWebServerService.getService().getMapper().addWrapper(injectedHost.getName(), context.getPath(), alias, osgiServletWrapper, false);
{code}
                
      was (Author: thomas.diesler):
    {code}
                Wrapper osgiServletWrapper = context.createWrapper();
                osgiServletWrapper.setName("???"); // Generate something ?
                osgiServletWrapper.setServlet(servletInstance);
                osgiServletWrapper.setServletClass(servletInstance.getClass().getName());
                context.addChild(osgiServletWrapper);

                context.addServletMapping(alias, "???");

                // Must be added to the main mapper as no dynamic servlets usually
                injectedWebServerService.getService().getMapper().addWrapper(injectedHost.getName(), context.getPath(), alias, osgiServletWrapper, false);{code}
                  
> Implement the HttpService ontop of JBossWeb
> -------------------------------------------
>
>                 Key: AS7-351
>                 URL: https://issues.jboss.org/browse/AS7-351
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: OSGi, Web
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>            Priority: Critical
>             Fix For: 7.2.0.CR1
>
>         Attachments: DefaultHttpContext.java, http-service-1.2.pdf, HttpServiceImpl.java, registerServlet, ResourceServlet.java
>
>
> Resolving this issue consolidates the Http services that we ship and should replace pax-web with an HttpService implemenation based on JBossWeb.
> RFC-66 (WebApp) support is also covered by this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list