InfoServer.addUnprivilegedServlet(String, String, Class) or
InfoServer.addPrivilegedServlet(String, String, Class) instead of this method which
does not state outwardly what kind of authz rules will be applied to this servlet.GzipHandler.byte[] using Bytes.toString().Gson for JAX-RS.JSONBean.Writer will not close the writer passed in, you
still need to close the writer by yourself.JMXJsonServlet class.ProfileServletHttpServer.Builder.addEndpoint(URI) instead.HttpServer.Builder.setAppDir(String) instead.HttpServer.Builder.addEndpoint(URI) instead.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.