List of usage examples for org.springframework.boot.devtools.livereload Connection Connection
Connection(Socket socket, InputStream inputStream, OutputStream outputStream) throws IOException
From source file:org.springframework.boot.devtools.livereload.LiveReloadServer.java
/** * Factory method used to create the {@link Connection}. * @param socket the source socket//from w ww. j a v a 2s .c om * @param inputStream the socket input stream * @param outputStream the socket output stream * @return a connection * @throws IOException in case of I/O errors */ protected Connection createConnection(Socket socket, InputStream inputStream, OutputStream outputStream) throws IOException { return new Connection(socket, inputStream, outputStream); }