Class HttpContextImpl

java.lang.Object
org.glassfish.grizzly.osgi.httpservice.HttpContextImpl
All Implemented Interfaces:
org.osgi.service.http.HttpContext

public class HttpContextImpl extends Object implements org.osgi.service.http.HttpContext
Grizzly OSGi HttpServices HttpContext implementation.
Since:
Jan 21, 2009
Author:
Hubert Iwaniuk
  • Constructor Details

    • HttpContextImpl

      public HttpContextImpl(org.osgi.framework.Bundle bundle)
  • Method Details

    • handleSecurity

      public boolean handleSecurity(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException
      Specified by:
      handleSecurity in interface org.osgi.service.http.HttpContext
      Throws:
      IOException
    • getResource

      public URL getResource(String s)
      Specified by:
      getResource in interface org.osgi.service.http.HttpContext
    • getMimeType

      public String getMimeType(String s)
      Specified by:
      getMimeType in interface org.osgi.service.http.HttpContext