public class DefaultHttpContext extends Object implements org.osgi.service.http.HttpContext
Constructor and Description |
---|
DefaultHttpContext() |
Modifier and Type | Method and Description |
---|---|
String |
getMimeType(String name)
Always return null
|
URL |
getResource(String name)
Always return null.
|
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method always returns true and does not handle security
|
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
handleSecurity
in interface org.osgi.service.http.HttpContext
IOException
public URL getResource(String name)
getResource
in interface org.osgi.service.http.HttpContext
Copyright © 2017. All rights reserved.