| Package | Description |
|---|---|
| com.bradmcevoy.http |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CollectionResource
A type of Resource which can have children, ie it can act as a directory
This is only part of the normal behaviour of a directory though, yuou
should have a look at FolderResource for a more complete interface
|
interface |
CopyableResource |
interface |
DeletableResource |
interface |
FileResource
Extends all non-collection interfaces into one
|
interface |
FolderResource
Extends all interfaces required for typical folder behavious
This is a good place to start if you want a normal directory.
|
interface |
GetableResource |
interface |
LockableResource |
interface |
LockingCollectionResource
A collection which allows locking "unmapped resources".
|
interface |
MakeCollectionableResource |
interface |
MoveableResource |
interface |
PostableResource |
interface |
PropFindableResource |
interface |
PutableResource |
| Modifier and Type | Class and Description |
|---|---|
class |
StaticResource
Used to provide access to static files via Milton
For a full implementation of webdav on a filesystem use the milton-filesysten
project
|
| Modifier and Type | Field and Description |
|---|---|
Resource |
DeleteHandler.CantDeleteException.resource |
| Modifier and Type | Method and Description |
|---|---|
Resource |
CollectionResource.child(String childName) |
Resource |
PutableResource.createNew(String newName,
InputStream inputStream,
Long length,
String contentType) |
static Resource |
Utils.findChild(Resource parent,
Path path) |
Resource |
StaticResourceFactory.getResource(String host,
String url) |
Resource |
MultipleResourceFactory.getResource(String host,
String url) |
Resource |
ResourceFactory.getResource(String host,
String path)
Locate an instance of a resource at the given url and on the given host
The host argument can be used for applications which implement virtual
domain hosting.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Resource> |
CollectionResource.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Handler.checkAuthorisation(Resource handler,
Request request) |
int |
StaticResource.compareTo(Resource res) |
protected boolean |
ExistingEntityHandler.doCheckRedirect(Request request,
Response response,
Resource resource)
We generally don't do redirects.
|
protected boolean |
PostHandler.doCheckRedirect(Request request,
Response response,
Resource resource) |
protected boolean |
GetHandler.doCheckRedirect(Request request,
Response response,
Resource resource) |
static Resource |
Utils.findChild(Resource parent,
Path path) |
protected boolean |
PropFindHandler.isCompatible(Resource handler) |
protected boolean |
MoveHandler.isCompatible(Resource handler) |
protected boolean |
OptionsHandler.isCompatible(Resource handler) |
protected boolean |
PutHandler.isCompatible(Resource handler) |
protected boolean |
DeleteHandler.isCompatible(Resource handler) |
protected boolean |
PropPatchHandler.isCompatible(Resource handler) |
protected boolean |
LockHandler.isCompatible(Resource handler) |
protected boolean |
PostHandler.isCompatible(Resource handler) |
protected abstract boolean |
Handler.isCompatible(Resource r) |
protected boolean |
UnlockHandler.isCompatible(Resource handler) |
protected boolean |
GetHandler.isCompatible(Resource handler) |
protected boolean |
CopyHandler.isCompatible(Resource handler) |
protected boolean |
MkColHandler.isCompatible(Resource handler) |
void |
EventListener.onGet(Request request,
Response response,
Resource resource,
Map<String,String> params) |
void |
EventListener.onPost(Request request,
Response response,
Resource resource,
Map<String,String> params,
Map<String,FileItem> files) |
void |
EventListener.onProcessResourceFinish(Request request,
Response response,
Resource resource,
long duration) |
void |
EventListener.onProcessResourceStart(Request request,
Response response,
Resource resource) |
protected void |
PropFindHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected abstract void |
ExistingEntityHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource)
Implement method specific processing.
|
protected void |
MoveHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
OptionsHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
DeleteHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
PropPatchHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
PostHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
UnlockHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
GetHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
CopyHandler.process(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
NewEntityHandler.process(Request request,
Response response,
Resource resource,
String name) |
protected void |
LockHandler.processExistingResource(HttpManager milton,
Request request,
Response response,
Resource resource) |
protected void |
ExistingEntityHandler.processResource(HttpManager manager,
Request request,
Response response,
Resource resource) |
protected void |
Handler.respondConflict(Resource resource,
Response response) |
protected void |
Handler.respondMethodNotAllowed(Resource res,
Response response) |
protected void |
Handler.respondUnauthorised(Resource resource,
Response response) |
Copyright © 2020. All rights reserved.