/*
|
Mediazentrale - Personal Media Center
|
Copyright (C) 2021 Ulrich Hilger
|
|
This program is free software: you can redistribute it and/or modify
|
it under the terms of the GNU Affero General Public License as
|
published by the Free Software Foundation, either version 3 of the
|
License, or (at your option) any later version.
|
|
This program is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU Affero General Public License for more details.
|
|
You should have received a copy of the GNU Affero General Public License
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
*/
|
package de.uhilger.mediaz.api;
|
|
import com.sun.net.httpserver.HttpExchange;
|
import java.io.IOException;
|
|
/**
|
* Der ListHandler bearbeitet HTTP-Anfragen zu Abspiellisten
|
*
|
* GET /mz/api/alist/[pl-name] die Titel-Objekte der Liste [pl-name] liefern
|
* PUT /mz/api/alist/[pl-name] den Titel im Body anfuegen an die Liste [pl-name]
|
* PUT /mz/api/alist/[pl-name]/[nr] an der Position nr der Liste [pl-name] den Titel im Body einfuegen
|
* DELETE /mz/api/alist/[pl-name]/[nr] den Titel an der Position [nr] aus der Liste [pl-name] entfernen
|
*
|
* @author Ulrich Hilger
|
* @version 1, 8.4.2021
|
*/
|
public class ListHandler extends AbstractHandler {
|
|
@Override
|
protected String get(HttpExchange e) {
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
}
|
|
@Override
|
protected String put(HttpExchange e) throws IOException {
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
}
|
|
@Override
|
protected String post(HttpExchange e) {
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
}
|
|
@Override
|
protected boolean delete(HttpExchange e) {
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
}
|
|
}
|