Class AbstractProvider
- java.lang.Object
-
- org.apache.abdera.protocol.server.impl.AbstractProvider
-
- All Implemented Interfaces:
Provider
- Direct Known Subclasses:
AbstractWorkspaceProvider,DefaultProvider
@Deprecated public abstract class AbstractProvider extends Object implements Provider
Deprecated.Legacy AEM 6.x API.Base Provider implementation that provides the core implementation details for all Providers. This class provides the basic request routing logic.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFilter(Filter... filters)Deprecated.voidaddRequestProcessors(Map<TargetType,RequestProcessor> requestProcessors)Deprecated.Add a map ofRequestProcessors to register on this provider, without overriding already registered ones.
Åorg.apache.abdera.AbderagetAbdera()Deprecated.Retrieve the Abdera instance associated with this providerFilter[]getFilters(RequestContext request)Deprecated.Return the listing of filters for this requestStringgetProperty(String name)Deprecated.Get the specified propertyString[]getPropertyNames()Deprecated.Return a listing of all available propertiesMap<TargetType,RequestProcessor>getRequestProcessors()Deprecated.Return a map of registeredRequestProcessors with relatedTargetType.voidinit(org.apache.abdera.Abdera abdera, Map<String,String> properties)Deprecated.Initialize the Provider.ResponseContextprocess(RequestContext request)Deprecated.Process the requestSubjectresolveSubject(RequestContext request)Deprecated.Resolve the subject using the Provider's Subject ResolverTargetresolveTarget(RequestContext request)Deprecated.Resolve the target using the Provider's Target ResolvervoidsetFilters(List<Filter> filters)Deprecated.voidsetRequestProcessors(Map<TargetType,RequestProcessor> requestProcessors)Deprecated.Set a map ofRequestProcessors to register on this provider, overriding already registered ones.StringurlFor(RequestContext request, Object key, Object param)Deprecated.Construct a URL using to Provider's Target Builder
-
-
-
Method Detail
-
init
public void init(org.apache.abdera.Abdera abdera, Map<String,String> properties)Deprecated.Description copied from interface:ProviderInitialize the Provider.
-
getProperty
public String getProperty(String name)
Deprecated.Description copied from interface:ProviderGet the specified property- Specified by:
getPropertyin interfaceProvider
-
getPropertyNames
public String[] getPropertyNames()
Deprecated.Description copied from interface:ProviderReturn a listing of all available properties- Specified by:
getPropertyNamesin interfaceProvider
-
getAbdera
public org.apache.abdera.Abdera getAbdera()
Deprecated.Description copied from interface:ProviderRetrieve the Abdera instance associated with this provider
-
resolveSubject
public Subject resolveSubject(RequestContext request)
Deprecated.Description copied from interface:ProviderResolve the subject using the Provider's Subject Resolver- Specified by:
resolveSubjectin interfaceProvider
-
resolveTarget
public Target resolveTarget(RequestContext request)
Deprecated.Description copied from interface:ProviderResolve the target using the Provider's Target Resolver- Specified by:
resolveTargetin interfaceProvider
-
urlFor
public String urlFor(RequestContext request, Object key, Object param)
Deprecated.Description copied from interface:ProviderConstruct a URL using to Provider's Target Builder
-
process
public ResponseContext process(RequestContext request)
Deprecated.Description copied from interface:ProviderProcess the request
-
getFilters
public Filter[] getFilters(RequestContext request)
Deprecated.Description copied from interface:ProviderReturn the listing of filters for this request- Specified by:
getFiltersin interfaceProvider
-
addFilter
public void addFilter(Filter... filters)
Deprecated.
-
setRequestProcessors
public void setRequestProcessors(Map<TargetType,RequestProcessor> requestProcessors)
Deprecated.Description copied from interface:ProviderSet a map ofRequestProcessors to register on this provider, overriding already registered ones.- Specified by:
setRequestProcessorsin interfaceProvider
-
addRequestProcessors
public void addRequestProcessors(Map<TargetType,RequestProcessor> requestProcessors)
Deprecated.Description copied from interface:ProviderAdd a map ofRequestProcessors to register on this provider, without overriding already registered ones.
Å- Specified by:
addRequestProcessorsin interfaceProvider
-
getRequestProcessors
public Map<TargetType,RequestProcessor> getRequestProcessors()
Deprecated.Description copied from interface:ProviderReturn a map of registeredRequestProcessors with relatedTargetType.- Specified by:
getRequestProcessorsin interfaceProvider
-
-