TrueZIP Driver HTTP(S) 7.0-rc2

de.schlichtherle.truezip.fs.http
Class HttpInputSocket

java.lang.Object
  extended by de.schlichtherle.truezip.socket.IOSocket<E,Entry>
      extended by de.schlichtherle.truezip.socket.InputSocket<HttpEntry>
          extended by de.schlichtherle.truezip.fs.http.HttpInputSocket

@ThreadSafe
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
final class HttpInputSocket
extends InputSocket<HttpEntry>

An input socket for HTTP entries.

Author:
Christian Schlichtherle
See Also:
HttpOutputSocket

Field Summary
private  HttpEntry entry
           
 
Constructor Summary
HttpInputSocket(HttpEntry entry)
           
 
Method Summary
 HttpEntry getLocalTarget()
           
 InputStream newInputStream()
           
 ReadOnlyFile newReadOnlyFile()
           
 
Methods inherited from class de.schlichtherle.truezip.socket.InputSocket
bind, getPeerTarget
 
Methods inherited from class de.schlichtherle.truezip.socket.IOSocket
copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

entry

private final HttpEntry entry
Constructor Detail

HttpInputSocket

HttpInputSocket(HttpEntry entry)
Method Detail

getLocalTarget

public HttpEntry getLocalTarget()
Specified by:
getLocalTarget in class IOSocket<HttpEntry,Entry>

newReadOnlyFile

public ReadOnlyFile newReadOnlyFile()
                             throws IOException
Specified by:
newReadOnlyFile in class InputSocket<HttpEntry>
Throws:
IOException

newInputStream

public InputStream newInputStream()
                           throws IOException
Overrides:
newInputStream in class InputSocket<HttpEntry>
Throws:
IOException

TrueZIP Driver HTTP(S) 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.