play.server
类 FileService.ByteRangeInput
java.lang.Object
play.server.FileService.ByteRangeInput
- 所有已实现的接口:
- org.jboss.netty.handler.stream.ChunkedInput
- 包容类:
- FileService
public static class FileService.ByteRangeInput
- extends java.lang.Object
- implements org.jboss.netty.handler.stream.ChunkedInput
构造方法摘要 |
FileService.ByteRangeInput(java.io.File file,
java.lang.String contentType,
org.jboss.netty.handler.codec.http.HttpRequest request)
|
FileService.ByteRangeInput(java.io.RandomAccessFile raf,
java.lang.String contentType,
org.jboss.netty.handler.codec.http.HttpRequest request)
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileService.ByteRangeInput
public FileService.ByteRangeInput(java.io.File file,
java.lang.String contentType,
org.jboss.netty.handler.codec.http.HttpRequest request)
throws java.io.FileNotFoundException,
java.io.IOException
- 抛出:
java.io.FileNotFoundException
java.io.IOException
FileService.ByteRangeInput
public FileService.ByteRangeInput(java.io.RandomAccessFile raf,
java.lang.String contentType,
org.jboss.netty.handler.codec.http.HttpRequest request)
throws java.io.FileNotFoundException,
java.io.IOException
- 抛出:
java.io.FileNotFoundException
java.io.IOException
prepareNettyResponse
public void prepareNettyResponse(org.jboss.netty.handler.codec.http.HttpResponse nettyResponse)
nextChunk
public java.lang.Object nextChunk()
throws java.lang.Exception
- 指定者:
- 接口
org.jboss.netty.handler.stream.ChunkedInput
中的 nextChunk
- 抛出:
java.lang.Exception
hasNextChunk
public boolean hasNextChunk()
throws java.lang.Exception
- 指定者:
- 接口
org.jboss.netty.handler.stream.ChunkedInput
中的 hasNextChunk
- 抛出:
java.lang.Exception
isEndOfInput
public boolean isEndOfInput()
throws java.lang.Exception
- 指定者:
- 接口
org.jboss.netty.handler.stream.ChunkedInput
中的 isEndOfInput
- 抛出:
java.lang.Exception
close
public void close()
throws java.lang.Exception
- 指定者:
- 接口
org.jboss.netty.handler.stream.ChunkedInput
中的 close
- 抛出:
java.lang.Exception
accepts
public static boolean accepts(org.jboss.netty.handler.codec.http.HttpRequest request)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly