| | |
| | | } |
| | | break; |
| | | case P_ZIP: |
| | | String path = exchange.getRequestURI().toString(); |
| | | zipAntwort(exchange, new Deflator().packFolder(fileName, path, base)); |
| | | //String path = exchange.getRequestURI().toString(); |
| | | zipAntwort(exchange, new Deflator().packFolder(fileName, /*path, */base)); |
| | | break; |
| | | case P_UNZIP: |
| | | path = exchange.getRequestURI().toString(); |
| | | zipAntwort(exchange, new Inflator().extractZipfile(fileName, path, base)); |
| | | //String path = exchange.getRequestURI().toString(); |
| | | zipAntwort(exchange, new Inflator().extractZipfile(fileName, /*path,*/ base)); |
| | | break; |
| | | default: |
| | | antwort(exchange, HttpResponder.SC_NOT_FOUND, "ungueltige Anfrage"); |