public class HttpResourceDefinition extends Object
Constructor and Description |
---|
HttpResourceDefinition() |
Modifier and Type | Method and Description |
---|---|
static String |
checkOwnerSecurityGranted(HttpResourceDefinition owner,
HttpResourceDefinition item)
Checks two resources, an owner and a new item.
|
String |
getAbsoluteName()
Gets the absolute file name for a resource.
|
AdminConfigResource |
getConfiguredResource()
Gets the configured resource for the request.
|
static HttpResourceDefinition |
getResourceDefinition(String name)
Finds a resource definition from a resource name.
|
String |
getResourceName()
Gets the resource name that may be modified to include a default
document.
|
static void |
setDocumentDefaults(String docRoot,
String defDocs)
Sets the defaults for documents.
|
public static void setDocumentDefaults(String docRoot, String defDocs)
public static HttpResourceDefinition getResourceDefinition(String name) throws IOException
IOException
- when the resource name refers to (invalid) protected space,
i.e. if it refers above the root or contains a colon.public String getResourceName()
public String getAbsoluteName()
public AdminConfigResource getConfiguredResource()
public static String checkOwnerSecurityGranted(HttpResourceDefinition owner, HttpResourceDefinition item)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.