public class SongProvider extends Object implements com.sun.net.httpserver.HttpHandler
Modifier and Type | Field and Description |
---|---|
private Logger |
log |
private static String |
LOG_SEP |
private String |
pathOffset |
Constructor and Description |
---|
SongProvider(CommonSOMViewerStateData state,
String context) |
private static final String LOG_SEP
private Logger log
private final String pathOffset
public SongProvider(CommonSOMViewerStateData state, String context)
private void sendSong(com.sun.net.httpserver.HttpExchange t, File song) throws IOException
IOException
public void handle(com.sun.net.httpserver.HttpExchange t) throws IOException
handle
in interface com.sun.net.httpserver.HttpHandler
IOException