return new ProtocolMetaData().addContext(httpContext);
}
private HTTPContext registerHandler(Archive<?> archive) {
UndertowHttpHandlerArchive handler = (UndertowHttpHandlerArchive)archive;
this.undertow = createUndertow(handler.getHttpHandler());
this.undertow.start();
HTTPContext httpContext = new HTTPContext(
configuration.getBindAddress(), configuration.getBindHttpPort());