de.schlichtherle.truezip.fs.http
Class HttpEntry
java.lang.Object
de.schlichtherle.truezip.fs.FsEntry
de.schlichtherle.truezip.fs.http.HttpEntry
- All Implemented Interfaces:
- Entry, InputEntry<HttpEntry>, IOEntry<HttpEntry>, OutputEntry<HttpEntry>
@Immutable
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
final class HttpEntry
- extends FsEntry
- implements IOEntry<HttpEntry>
An HTTP entry.
- Author:
- Christian Schlichtherle
| Fields inherited from interface de.schlichtherle.truezip.entry.Entry |
NULL, UNKNOWN |
NO_OUTPUT_OPTIONS
private static final BitField<FsOutputOption> NO_OUTPUT_OPTIONS
controller
private HttpController controller
name
private final EntryName name
url
private final URL url
connection
@CheckForNull
private volatile URLConnection connection
HttpEntry
HttpEntry(FsMountPoint mountPoint,
FsEntryName name,
HttpController controller)
getController
HttpController getController()
getUrl
URL getUrl()
- Returns the decorated URL.
getConnection
URLConnection getConnection()
throws IOException
- Throws:
IOException
getName
public String getName()
- Specified by:
getName in interface Entry- Specified by:
getName in class FsEntry
getType
public Entry.Type getType()
- Specified by:
getType in interface Entry
getSize
public long getSize(Entry.Size type)
- Specified by:
getSize in interface Entry
getTime
public long getTime(Entry.Access type)
- Specified by:
getTime in interface Entry
getMembers
@Nullable
public Set<String> getMembers()
- Specified by:
getMembers in class FsEntry
getInputSocket
public InputSocket<HttpEntry> getInputSocket()
- Specified by:
getInputSocket in interface InputEntry<HttpEntry>
getOutputSocket
public OutputSocket<HttpEntry> getOutputSocket()
- Specified by:
getOutputSocket in interface OutputEntry<HttpEntry>
getOutputSocket
public OutputSocket<HttpEntry> getOutputSocket(BitField<FsOutputOption> options,
@CheckForNull
Entry template)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.