public abstract class VibeHttpHandler
extends org.glassfish.grizzly.http.server.HttpHandler
Request and Response into
GrizzlyServerHttpExchange.
ServerConfiguration config = httpServer.getServerConfiguration();
config.addHttpHandler(new VibeHttpHandler() {
@Override
protected Action<ServerHttpExchange> httpAction() {
return server.httpAction();
}
}, "/vibe");
| Constructor and Description |
|---|
VibeHttpHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Action<ServerHttpExchange> |
httpAction()
An
Action to consume ServerHttpExchange. |
void |
service(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response response) |
destroy, getErrorPageGenerator, getName, getRequestExecutorProvider, getRequestURIEncoding, getSessionCookieName, getSessionManager, isAllowCustomStatusMessage, isAllowEncodedSlash, sendAcknowledgment, setAllowCustomStatusMessage, setAllowEncodedSlash, setDecodeUrl, setDispatcherHelper, setRequestURIEncoding, setRequestURIEncoding, start, updatePathspublic void service(org.glassfish.grizzly.http.server.Request request,
org.glassfish.grizzly.http.server.Response response)
throws Exception
service in class org.glassfish.grizzly.http.server.HttpHandlerExceptionprotected abstract Action<ServerHttpExchange> httpAction()
Action to consume ServerHttpExchange.Copyright 2014, The Vibe Project