Class DefaultHttpContext

java.lang.Object
org.adempiere.eclipse.equinox.http.servlet.DefaultHttpContext
All Implemented Interfaces:
org.osgi.service.http.HttpContext

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

    • DefaultHttpContext

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

    • 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