Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Update Cxf.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaneri committed Jun 14, 2022
1 parent 36f9074 commit d63270b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,13 @@ private void create(final Vmbk vmbk, final boolean debug)
this.jettyServer = new JettyHttpServer(this.serverlet, true);
this.sapi = new SapiImpl(vmbk, debug, generateExtensionOptionsClass());
this.ep = Endpoint.create(this.sapi);
final ContextHandlerCollection collection1 = new ContextHandlerCollection();
ServletContextHandler handler = new ServletContextHandler(serverlet, "/");
if (this.enableStatusPage) {
final ContextHandlerCollection collection1 = new ContextHandlerCollection();
ServletContextHandler handler = new ServletContextHandler(serverlet, "/");
handler.addServlet(BlockingServletAsync.class, "/status");
collection1.addHandler(handler);
this.serverlet.setHandler(collection1);
}
collection1.addHandler(handler);
this.serverlet.setHandler(collection1);
this.ep.publish(this.jettyServer.createContext(this.context));
}

Expand Down

0 comments on commit d63270b

Please sign in to comment.