@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) final class HttpEntry extends FsEntry implements IOEntry<HttpEntry>
Entry.Access, Entry.Size, Entry.Type| Modifier and Type | Field and Description |
|---|---|
private URLConnection |
connection |
private HttpController |
controller |
private String |
name |
private static BitField<FsOutputOption> |
NO_OUTPUT_OPTIONS |
private URL |
url |
ALL_ACCESS_SET, ALL_SIZE_SET, ALL_TYPE_SET, DIRECTORY_TYPE_SET, FILE_TYPE_SET, SPECIAL_TYPE_SET, SYMLINK_TYPE_SET, UNKNOWN| Constructor and Description |
|---|
HttpEntry(FsMountPoint mountPoint,
FsEntryName name,
HttpController controller) |
| Modifier and Type | Method and Description |
|---|---|
(package private) URLConnection |
getConnection() |
(package private) HttpController |
getController() |
InputSocket<HttpEntry> |
getInputSocket() |
Set<String> |
getMembers() |
String |
getName() |
OutputSocket<HttpEntry> |
getOutputSocket() |
OutputSocket<HttpEntry> |
getOutputSocket(BitField<FsOutputOption> options,
Entry template) |
long |
getSize(Entry.Size type) |
long |
getTime(Entry.Access type) |
Set<Entry.Type> |
getTypes() |
(package private) URL |
getUrl()
Returns the decorated URL.
|
boolean |
isType(Entry.Type type) |
private static final BitField<FsOutputOption> NO_OUTPUT_OPTIONS
private final String name
private final URL url
private HttpController controller
@CheckForNull private volatile URLConnection connection
HttpEntry(FsMountPoint mountPoint, FsEntryName name, HttpController controller)
HttpController getController()
URL getUrl()
URLConnection getConnection() throws IOException
IOExceptionpublic String getName()
public Set<Entry.Type> getTypes()
public boolean isType(Entry.Type type)
public long getSize(Entry.Size type)
public long getTime(Entry.Access type)
@Nullable public Set<String> getMembers()
getMembers in class FsEntrypublic InputSocket<HttpEntry> getInputSocket()
getInputSocket in interface InputEntry<HttpEntry>public OutputSocket<HttpEntry> getOutputSocket()
getOutputSocket in interface OutputEntry<HttpEntry>public OutputSocket<HttpEntry> getOutputSocket(BitField<FsOutputOption> options, @CheckForNull Entry template)
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.