private class WebPublishingService.BundleResourcesHTTPContext extends Object implements org.osgi.service.http.HttpContext
Modifier and Type | Field and Description |
---|---|
private org.osgi.framework.Bundle |
bundle |
Modifier | Constructor and Description |
---|---|
private |
BundleResourcesHTTPContext(org.osgi.framework.Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
String |
getMimeType(String name) |
URL |
getResource(String name) |
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
private org.osgi.framework.Bundle bundle
private BundleResourcesHTTPContext(org.osgi.framework.Bundle bundle)
public URL getResource(String name)
getResource
in interface org.osgi.service.http.HttpContext
public String getMimeType(String name)
getMimeType
in interface org.osgi.service.http.HttpContext
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
handleSecurity
in interface org.osgi.service.http.HttpContext
IOException
Copyright © 2018. All Rights Reserved.