public class JsonResourceFactory extends Object implements ResourceFactory
| Constructor and Description |
|---|
JsonResourceFactory(ResourceFactory wrapped,
EventManager eventManager,
JsonPropFindHandler propFindHandler,
JsonPropPatchHandler propPatchHandler) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getContentTypes() |
EventManager |
getEventManager() |
Long |
getMaxAgeSecsPropFind() |
JsonPropFindHandler |
getPropFindHandler() |
JsonPropPatchHandler |
getPropPatchHandler() |
Resource |
getResource(String host,
String sPath) |
void |
setContentTypes(List<String> contentTypes) |
void |
setMaxAgeSecsPropFind(Long maxAgeSecsPropFind) |
Resource |
wrapResource(String host,
Resource wrappedResource,
String method,
String href) |
public JsonResourceFactory(ResourceFactory wrapped, EventManager eventManager, JsonPropFindHandler propFindHandler, JsonPropPatchHandler propPatchHandler)
public Resource getResource(String host, String sPath) throws NotAuthorizedException, BadRequestException
getResource in interface ResourceFactoryNotAuthorizedExceptionBadRequestExceptionpublic Resource wrapResource(String host, Resource wrappedResource, String method, String href)
public JsonPropFindHandler getPropFindHandler()
public JsonPropPatchHandler getPropPatchHandler()
public EventManager getEventManager()
public Long getMaxAgeSecsPropFind()
public void setMaxAgeSecsPropFind(Long maxAgeSecsPropFind)
Copyright © 2021 McEvoy Software Ltd. All rights reserved.