ExplorerHandler implements DispatcherHandler<EndpointsContext> { @Override public void handle(EndpointsContext context) throws IOException { context.getResponse().sendRedirect(getExplorerUrl(context.getRequest(), context.getPath())); }  @Override void handle(EndpointsContext context);  }
@Test public void testHandle() throws Exception { testHandle("http", 8080, "http: + "?base=http: }