August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface HttpContext
HttpContext defines methods that HttpService may call to get information about a registration. Servlets and resources must be registered with a HttpContext object. Servlets which are registered using the same HttpContext object will share the same ServletContext.
This interface is implemented by users of HttpService.
| Member Summary | |
|---|---|
| Methods | |
| public String | getMimeType(String) |
| Map a name to a MIME type. | |
| public URL | getResource(String) |
| Map a resource name to a URL. | |
| public boolean | handleSecurity(HttpServletRequest, HttpServletResponse) |
| Handle security for a request. | |
public java.lang.String getMimeType(java.lang.String name)
Map a name to a MIME type. Called ...
Read now
Unlock full access