private void logServerBinding(final ServerBinding serverBinding) { log.info("Bound to address {}:{}", serverBinding.localAddress().getHostString(), serverBinding.localAddress().getPort()); }
private void logServerBinding(final ServerBinding serverBinding) { log.info("Bound to address {}:{}", serverBinding.localAddress().getHostString(), serverBinding.localAddress().getPort()); }
/** * Hook that will be called just after the Http server binding is done. Override this method if you want to perform some actions after the server is up. */ protected void postHttpBinding (ServerBinding binding) { systemReference.get().log().info("Server online at http://" + binding.localAddress().getHostName() + ":" + binding.localAddress().getPort() + "/"); }
/** * Hook that will be called just after the Http server binding is done. Override this method if you want to perform some actions after the server is up. */ protected void postHttpBinding (ServerBinding binding) { systemReference.get().log().info("Server online at http://" + binding.localAddress().getHostName() + ":" + binding.localAddress().getPort() + "/"); }
/** * Hook that will be called just after the Http server binding is done. Override this method if you want to perform some actions after the server is up. */ protected void postHttpBinding (ServerBinding binding) { systemReference.get().log().info("Server online at http://" + binding.localAddress().getHostName() + ":" + binding.localAddress().getPort() + "/"); }
private void onStarted(ServerBinding binding) { final InetSocketAddress address = binding.localAddress(); log().info("Server started at {}:{}", address.getHostString(), address.getPort()); }
log.info("Serving HTTP requests on port {} ...", theBinding.localAddress().getPort()); CoordinatedShutdown.get(actorSystem).addTask( CoordinatedShutdown.PhaseServiceUnbind(), "shutdown_http_endpoint", () -> {