Class DefaultHttpContext

  • All Implemented Interfaces:
    org.osgi.service.http.HttpContext

    public class DefaultHttpContext
    extends Object
    implements org.osgi.service.http.HttpContext
    • Constructor Detail

      • DefaultHttpContext

        public DefaultHttpContext​(org.osgi.framework.Bundle bundle)
    • Method Detail

      • handleSecurity

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

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

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