public static class GrizzlyRestServicePublishService.HtmlHandler
extends org.glassfish.grizzly.http.server.HttpHandler
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
mapping
The html responses (host->response).
|
Constructor and Description |
---|
HtmlHandler()
Create an html handler.
|
Modifier and Type | Method and Description |
---|---|
void |
addMapping(java.lang.String host,
java.lang.String html)
Add a mapping.
|
void |
service(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response resp)
Service the request.
|
destroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePaths
protected java.util.Map<java.lang.String,java.lang.String> mapping
public void addMapping(java.lang.String host, java.lang.String html)
public void service(org.glassfish.grizzly.http.server.Request request, org.glassfish.grizzly.http.server.Response resp)
service
in class org.glassfish.grizzly.http.server.HttpHandler