Example usage for org.springframework.boot.devtools.livereload Connection close

List of usage examples for org.springframework.boot.devtools.livereload Connection close

Introduction

In this page you can find the example usage for org.springframework.boot.devtools.livereload Connection close.

Prototype

void close() throws IOException 

Source Link

Document

Close the connection.

Usage

From source file:org.springframework.boot.devtools.livereload.LiveReloadServer.java

private void closeAllConnections() throws IOException {
    synchronized (this.connections) {
        for (Connection connection : this.connections) {
            connection.close();
        }/*w w  w. ja v  a  2  s.co  m*/
    }
}