Class DefaultRegistryHttpContext
java.lang.Object
org.eclipse.equinox.http.registry.internal.DefaultRegistryHttpContext
- All Implemented Interfaces:
HttpContext
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMimeMapping(String mimeExtension, String mimeType) voidaddResourceMapping(Bundle contributingBundle, String path) getMimeType(String name) getResource(String name) getResourcePaths(String path) booleanhandleSecurity(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
-
Constructor Details
-
DefaultRegistryHttpContext
-
-
Method Details
-
addResourceMapping
-
addMimeMapping
-
getMimeType
- Specified by:
getMimeTypein interfaceHttpContext
-
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1) throws IOException - Specified by:
handleSecurityin interfaceHttpContext- Throws:
IOException
-
getResource
- Specified by:
getResourcein interfaceHttpContext
-
getResourcePaths
-