ResourceOrigin
API and ResourcesServlet
; URI2RepositoryMapping isn't involved anymore.@Deprecated public class URI2ResourcesRepositoryMapping extends info.magnolia.cms.beans.config.URI2RepositoryMapping
Constructor and Description |
---|
URI2ResourcesRepositoryMapping()
Deprecated.
|
URI2ResourcesRepositoryMapping(ResourcesModule resourcesModule)
Deprecated.
|
URI2ResourcesRepositoryMapping(String uriPrefix,
String repository,
String handlePrefix)
Deprecated.
|
URI2ResourcesRepositoryMapping(String uriPrefix,
String repository,
String handlePrefix,
ResourcesModule resourcesModule)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getHandle(String uri)
Deprecated.
|
boolean |
matches(String uri)
Deprecated.
When no resource filter is defined in
ResourcesModule or when given URI is white listed in filter it will
delegate to URI2RepositoryMapping.matches(String) . |
public URI2ResourcesRepositoryMapping()
public URI2ResourcesRepositoryMapping(ResourcesModule resourcesModule)
public URI2ResourcesRepositoryMapping(String uriPrefix, String repository, String handlePrefix)
public URI2ResourcesRepositoryMapping(String uriPrefix, String repository, String handlePrefix, ResourcesModule resourcesModule)
public boolean matches(String uri)
ResourcesModule
or when given URI is white listed in filter it will
delegate to URI2RepositoryMapping.matches(String)
. Otherwise it considers given URI as no match (given
URI is not white listed by resource filter).matches
in class info.magnolia.cms.beans.config.URI2RepositoryMapping
Copyright © 2021 Magnolia International Ltd.. All rights reserved.