de.schlichtherle.truezip.fs.http
Class HttpController
java.lang.Object
de.schlichtherle.truezip.fs.FsController<FsModel>
de.schlichtherle.truezip.fs.http.HttpController
@ThreadSafe
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
final class HttpController
- extends FsController<FsModel>
A file system controller for the HTTP(S) schemes.
- Author:
- Christian Schlichtherle
|
Method Summary |
Icon |
getClosedIcon()
|
(package private) HttpDriver |
getDriver()
|
HttpEntry |
getEntry(FsEntryName name)
|
InputSocket<?> |
getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
|
FsModel |
getModel()
|
Icon |
getOpenIcon()
|
OutputSocket<?> |
getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
Entry template)
|
FsController<?> |
getParent()
|
boolean |
isReadable(FsEntryName name)
|
boolean |
isReadOnly()
|
boolean |
isWritable(FsEntryName name)
|
void |
mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
Entry template)
|
void |
setReadOnly(FsEntryName name)
|
boolean |
setTime(FsEntryName name,
BitField<Entry.Access> types,
long value)
|
|
sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler)
|
void |
unlink(FsEntryName name)
|
driver
private final HttpDriver driver
model
private final FsModel model
HttpController
HttpController(FsModel model,
HttpDriver driver)
getModel
public FsModel getModel()
- Specified by:
getModel in class FsController<FsModel>
getDriver
HttpDriver getDriver()
getParent
public FsController<?> getParent()
- Specified by:
getParent in class FsController<FsModel>
getOpenIcon
public Icon getOpenIcon()
throws IOException
- Specified by:
getOpenIcon in class FsController<FsModel>
- Throws:
IOException
getClosedIcon
public Icon getClosedIcon()
throws IOException
- Specified by:
getClosedIcon in class FsController<FsModel>
- Throws:
IOException
isReadOnly
public boolean isReadOnly()
throws IOException
- Specified by:
isReadOnly in class FsController<FsModel>
- Throws:
IOException
getEntry
public HttpEntry getEntry(FsEntryName name)
throws IOException
- Specified by:
getEntry in class FsController<FsModel>
- Throws:
IOException
isReadable
public boolean isReadable(FsEntryName name)
throws IOException
- Specified by:
isReadable in class FsController<FsModel>
- Throws:
IOException
isWritable
public boolean isWritable(FsEntryName name)
throws IOException
- Specified by:
isWritable in class FsController<FsModel>
- Throws:
IOException
setReadOnly
public void setReadOnly(FsEntryName name)
throws IOException
- Specified by:
setReadOnly in class FsController<FsModel>
- Throws:
IOException
setTime
public boolean setTime(FsEntryName name,
BitField<Entry.Access> types,
long value)
throws IOException
- Specified by:
setTime in class FsController<FsModel>
- Throws:
IOException
getInputSocket
public InputSocket<?> getInputSocket(FsEntryName name,
BitField<FsInputOption> options)
- Specified by:
getInputSocket in class FsController<FsModel>
getOutputSocket
public OutputSocket<?> getOutputSocket(FsEntryName name,
BitField<FsOutputOption> options,
@CheckForNull
Entry template)
- Specified by:
getOutputSocket in class FsController<FsModel>
mknod
public void mknod(FsEntryName name,
Entry.Type type,
BitField<FsOutputOption> options,
@CheckForNull
Entry template)
throws IOException
- Specified by:
mknod in class FsController<FsModel>
- Throws:
IOException
unlink
public void unlink(FsEntryName name)
throws IOException
- Specified by:
unlink in class FsController<FsModel>
- Throws:
IOException
sync
public <X extends IOException> void sync(BitField<FsSyncOption> options,
ExceptionHandler<? super FsSyncException,X> handler)
throws X extends IOException
- Specified by:
sync in class FsController<FsModel>
- Throws:
X extends IOException
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.