public interface HTTPURLHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE_IMAGE_JPEG |
static java.lang.String |
CONTENT_TYPE_IMAGE_X_ICON |
static java.lang.String |
CONTENT_TYPE_TEXT_HTML |
static java.lang.String |
CONTENT_TYPE_TEXT_XML |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Returns the content type.
|
java.lang.String |
getEncoding()
Return the encoding to use.
|
java.lang.String |
getPath()
Returns the path handled by this handler.
|
void |
handleRequest(java.lang.String path,
java.util.Map parameters,
java.io.OutputStream os)
Handles the specified request.
|
static final java.lang.String CONTENT_TYPE_TEXT_HTML
static final java.lang.String CONTENT_TYPE_TEXT_XML
static final java.lang.String CONTENT_TYPE_IMAGE_JPEG
static final java.lang.String CONTENT_TYPE_IMAGE_X_ICON
java.lang.String getPath()
java.lang.String getContentType()
java.lang.String getEncoding()
void handleRequest(java.lang.String path,
java.util.Map parameters,
java.io.OutputStream os)
throws java.io.IOException
The - full path being handled.parameters - A Map of the parameters in the request.os - The OutputStream to write the result to.java.io.IOException