1
0
mirror of https://github.com/Rogiel/httpchannel synced 2025-12-06 07:32:50 +00:00

Implements zshare.net and filesonic.com services

This commit is contained in:
2012-01-16 13:28:59 -02:00
parent 1719e54b77
commit e943b08ede
17 changed files with 33 additions and 44 deletions

View File

@@ -16,7 +16,6 @@
*/
package com.rogiel.httpchannel.service;
import java.io.Closeable;
import java.nio.channels.Channel;
import java.nio.channels.ReadableByteChannel;
@@ -32,7 +31,7 @@ import java.nio.channels.ReadableByteChannel;
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface DownloadChannel extends ReadableByteChannel, Closeable {
public interface DownloadChannel extends HttpChannel, ReadableByteChannel {
/**
* @return the file size
*/

View File

@@ -16,7 +16,6 @@
*/
package com.rogiel.httpchannel.service;
import java.io.Closeable;
import java.io.IOException;
import java.net.URL;
import java.nio.channels.Channel;
@@ -36,7 +35,7 @@ import com.rogiel.httpchannel.service.exception.UploadLinkNotFoundException;
*
* @author <a href="http://www.rogiel.com">Rogiel</a>
*/
public interface UploadChannel extends WritableByteChannel, Closeable {
public interface UploadChannel extends HttpChannel, WritableByteChannel {
/**
* @return the file size
*/