public class ShareRemoteResourcesHandler
extends org.springframework.extensions.surf.RemoteResourcesHandler
This class extends the default Surf RemoteResourcesHandler to process the supplied path.
It has been provided primarily to provide support for AMD requests. It converts the AMD path
to a location in the Data Dictionary.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILTER
This represents the filter that MUST be on the path in order for the request to
have reached this handler (this is the default Spring configured filter - if its
changed then this will need to be updated)
TODO: Can we get this value from the Surf or Share configuration?
It should be possible to look up the "alfresco" package in the Surf configuration
|
static int |
FILTER_LENGTH |
| Constructor and Description |
|---|
ShareRemoteResourcesHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRepositoryPrefix() |
protected java.lang.String |
processPath(java.lang.String path) |
void |
setRepositoryPrefix(java.lang.String repositoryPrefix) |
public static final java.lang.String FILTER
public static final int FILTER_LENGTH
public java.lang.String getRepositoryPrefix()
public void setRepositoryPrefix(java.lang.String repositoryPrefix)
protected java.lang.String processPath(java.lang.String path)
processPath in class org.springframework.extensions.surf.RemoteResourcesHandlerCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.