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 Summary
Constructors Constructor Description DefaultHttpContext(org.osgi.framework.Bundle bundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMimeType(String name)
URL
getResource(String name)
boolean
handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Method Detail
-
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
- Specified by:
handleSecurity
in interfaceorg.osgi.service.http.HttpContext
- Throws:
IOException
-
getResource
public URL getResource(String name)
- Specified by:
getResource
in interfaceorg.osgi.service.http.HttpContext
-
-