A C D E G H I O P R S

A

APPLICATION_BEAN_PARAM_NAME - Static variable in class org.restlet.ext.spring.SpringServerServlet
Name of the Servlet parameter containing a bean-id of the application to use.
attachResource(String, String, BeanFactory) - Method in class org.restlet.ext.spring.SpringBeanRouter
Attaches the named resource bean at the given URI, creating a finder for it via SpringBeanRouter.createFinder(BeanFactory, String).
attachRestlet(String, String, BeanFactory) - Method in class org.restlet.ext.spring.SpringBeanRouter
Attaches the named restlet bean directly at the given URI.

C

Component_BEAN_PARAM_NAME - Static variable in class org.restlet.ext.spring.SpringServerServlet
Name of the Servlet parameter containing a bean-id of the component to use.
create() - Method in class org.restlet.ext.spring.SpringBeanFinder
 
create() - Method in class org.restlet.ext.spring.SpringFinder
Creates a new instance of the ServerResource class designated by the "targetClass" property.
create(Class<? extends ServerResource>, Request, Response) - Method in class org.restlet.ext.spring.SpringFinder
Calls the SpringFinder.create() method that can be configured as a lookup method in Spring.
create(Request, Response) - Method in class org.restlet.ext.spring.SpringFinder
 
createApplication(Context) - Method in class org.restlet.ext.spring.SpringServerServlet
Lookups the single Restlet Application used by this Servlet from the SpringContext inside the ServletContext.
createComponent() - Method in class org.restlet.ext.spring.SpringServerServlet
Lookups the single Restlet Component used by this Servlet from Spring's Context available inside the ServletContext.
createContext() - Method in class org.restlet.ext.spring.RestletFrameworkServlet
Creates the Restlet Context to use if the target application does not already have a context associated, or if the target restlet is not an Application at all.
createFinder(BeanFactory, String) - Method in class org.restlet.ext.spring.SpringBeanRouter
Creates an instance of SpringBeanFinder.

D

doService(HttpServletRequest, HttpServletResponse) - Method in class org.restlet.ext.spring.RestletFrameworkServlet
 

E

equals(Object) - Method in class org.restlet.ext.spring.SpringResource
This implementation compares the underlying InputStream.
exists() - Method in class org.restlet.ext.spring.SpringResource
This implementation always returns true.

G

getAdapter() - Method in class org.restlet.ext.spring.RestletFrameworkServlet
Provides access to the ServletAdapter used to handle requests.
getApplicationContext() - Method in class org.restlet.ext.spring.SpringBeanFinder
Returns the parent application context.
getAttachments() - Method in class org.restlet.ext.spring.SpringBeanRouter
Returns supplemental explicit mappings
getBeanFactory() - Method in class org.restlet.ext.spring.SpringBeanFinder
Returns the parent bean factory.
getBeanName() - Method in class org.restlet.ext.spring.SpringBeanFinder
Returns the bean name.
getContext() - Method in class org.restlet.ext.spring.SpringBeanFinder
 
getDescription() - Method in class org.restlet.ext.spring.SpringResource
Returns the description.
getInputStream() - Method in class org.restlet.ext.spring.SpringResource
This implementation throws IllegalStateException if attempting to read the underlying stream multiple times.
getPropertyConfigRefs() - Method in class org.restlet.ext.spring.SpringContext
Returns the modifiable list of configuration URIs for beans definitions via property representations.
getRestletContext() - Method in class org.restlet.ext.spring.SpringContext
Returns the parent Restlet context.
getRouter() - Method in class org.restlet.ext.spring.SpringBeanFinder
Returns the associated router.
getTargetRestlet() - Method in class org.restlet.ext.spring.RestletFrameworkServlet
Returns the target Restlet from Spring's Web application context.
getTargetRestletBeanName() - Method in class org.restlet.ext.spring.RestletFrameworkServlet
Returns the bean name of the target Restlet.
getWebApplicationContext() - Method in class org.restlet.ext.spring.SpringServerServlet
Get the Spring WebApplicationContext from the ServletContext.
getXmlConfigRefs() - Method in class org.restlet.ext.spring.SpringContext
Returns the modifiable list of configuration URIs for beans definitions via XML representations.

H

hashCode() - Method in class org.restlet.ext.spring.SpringResource
This implementation returns the hash code of the underlying InputStream.

I

initFrameworkServlet() - Method in class org.restlet.ext.spring.RestletFrameworkServlet
 
isFindingInAncestors() - Method in class org.restlet.ext.spring.SpringBeanRouter
Returns true if bean names will be searched for higher up in the BeanFactory hierarchy.
isOpen() - Method in class org.restlet.ext.spring.SpringResource
This implementation always returns true.

O

org.restlet.ext.spring - package org.restlet.ext.spring
Integration with Spring Framework 3.2.

P

postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.restlet.ext.spring.SpringBeanRouter
Attaches all ServerResource and Restlet beans found in the surrounding bean factory for which SpringBeanRouter.resolveUri(java.lang.String, org.springframework.beans.factory.ListableBeanFactory) finds a usable URI.

R

refresh() - Method in class org.restlet.ext.spring.SpringContext
 
resolveUri(String, ListableBeanFactory) - Method in class org.restlet.ext.spring.SpringBeanRouter
Uses this first alias for this bean that starts with '/' and is not mapped in the explicit attachments to another bean.
RestletFrameworkServlet - Class in org.restlet.ext.spring
A Servlet which provides an automatic Restlet integration with an existing WebApplicationContext.
RestletFrameworkServlet() - Constructor for class org.restlet.ext.spring.RestletFrameworkServlet
 

S

setApplicationContext(ApplicationContext) - Method in class org.restlet.ext.spring.SpringBeanFinder
Sets the parent application context
setApplicationContext(ApplicationContext) - Method in class org.restlet.ext.spring.SpringBeanRouter
Sets the Spring application context.
setAttachment(String, Object) - Method in class org.restlet.ext.spring.SpringHost
Sets a route to attach.
setAttachment(Router, String, Object) - Static method in class org.restlet.ext.spring.SpringRouter
Attach a single route.
setAttachments(Map<String, String>) - Method in class org.restlet.ext.spring.SpringBeanRouter
Sets an explicit mapping of URI templates to bean IDs to use in addition to the usual bean name mapping behavior.
setAttachments(Map<String, Object>) - Method in class org.restlet.ext.spring.SpringHost
Sets the map of routes to attach.
setAttachments(Router, Map<String, Object>) - Static method in class org.restlet.ext.spring.SpringRouter
Sets the map of routes to attach.
setAttachments(Map<String, Object>) - Method in class org.restlet.ext.spring.SpringRouter
Sets the map of routes to attach.
setBeanFactory(BeanFactory) - Method in class org.restlet.ext.spring.SpringBeanFinder
Sets the parent bean factory.
setBeanName(String) - Method in class org.restlet.ext.spring.SpringBeanFinder
Sets the bean name.
setClient(Object) - Method in class org.restlet.ext.spring.SpringComponent
Adds a client to the list of connectors.
setClientsList(List<Object>) - Method in class org.restlet.ext.spring.SpringComponent
Sets the list of clients, either as protocol names, Protocol instances or Client instances.
setDefaultAttachment(Object) - Method in class org.restlet.ext.spring.SpringHost
Sets the default route to attach.
setDefaultAttachment(Object) - Method in class org.restlet.ext.spring.SpringRouter
Sets the default route to attach.
setDefaultTarget(Restlet) - Method in class org.restlet.ext.spring.SpringComponent
Attaches a target Restlet to the default host.
setFindingInAncestors(boolean) - Method in class org.restlet.ext.spring.SpringBeanRouter
Sets if bean names will be searched for higher up in the BeanFactory hierarchy.
setParameters(Properties) - Method in class org.restlet.ext.spring.SpringServer
Sets parameters on the server.
setRouter(Router) - Method in class org.restlet.ext.spring.SpringBeanFinder
Sets the associated router.
setServer(Object) - Method in class org.restlet.ext.spring.SpringComponent
Adds a server to the list of connectors.
setServersList(List<Object>) - Method in class org.restlet.ext.spring.SpringComponent
Sets the list of servers, either as protocol names, Protocol instances or Server instances.
setTargetRestletBeanName(String) - Method in class org.restlet.ext.spring.RestletFrameworkServlet
Sets the bean name of the target Restlet.
SpringBeanFinder - Class in org.restlet.ext.spring
An alternative to SpringFinder which uses Spring's BeanFactory mechanism to load a prototype bean by name.
SpringBeanFinder() - Constructor for class org.restlet.ext.spring.SpringBeanFinder
Default constructor.
SpringBeanFinder(Router, BeanFactory, String) - Constructor for class org.restlet.ext.spring.SpringBeanFinder
Constructor.
SpringBeanRouter - Class in org.restlet.ext.spring
Restlet Router which behaves like Spring's BeanNameUrlHandlerMapping.
SpringBeanRouter() - Constructor for class org.restlet.ext.spring.SpringBeanRouter
Constructor.
SpringBeanRouter(Context) - Constructor for class org.restlet.ext.spring.SpringBeanRouter
Constructor with a parent context.
SpringBeanRouter(Restlet) - Constructor for class org.restlet.ext.spring.SpringBeanRouter
Constructor with a parent Restlet.
SpringComponent - Class in org.restlet.ext.spring
Component that is easily configurable from Spring.
SpringComponent() - Constructor for class org.restlet.ext.spring.SpringComponent
 
SpringContext - Class in org.restlet.ext.spring
Spring application context based on a Restlet context.
SpringContext(Context) - Constructor for class org.restlet.ext.spring.SpringContext
Constructor.
SpringFinder - Class in org.restlet.ext.spring
Finder that is specialized for easier usage by Spring wiring services.
SpringFinder() - Constructor for class org.restlet.ext.spring.SpringFinder
Constructor.
SpringFinder(Context) - Constructor for class org.restlet.ext.spring.SpringFinder
Constructor.
SpringFinder(Context, Class<? extends ServerResource>) - Constructor for class org.restlet.ext.spring.SpringFinder
Constructor.
SpringFinder(Restlet) - Constructor for class org.restlet.ext.spring.SpringFinder
Constructor.
SpringHost - Class in org.restlet.ext.spring
Virtual host that is easily configurable with Spring.
SpringHost(Component) - Constructor for class org.restlet.ext.spring.SpringHost
Constructor.
SpringHost(Context) - Constructor for class org.restlet.ext.spring.SpringHost
Constructor.
SpringResource - Class in org.restlet.ext.spring
Spring Resource based on a Restlet Representation.
SpringResource(Representation) - Constructor for class org.restlet.ext.spring.SpringResource
Constructor.
SpringResource(Representation, String) - Constructor for class org.restlet.ext.spring.SpringResource
Constructor.
SpringRouter - Class in org.restlet.ext.spring
Router that is easily configurable with Spring.
SpringRouter() - Constructor for class org.restlet.ext.spring.SpringRouter
Constructor.
SpringRouter(Context) - Constructor for class org.restlet.ext.spring.SpringRouter
Constructor with a parent context.
SpringRouter(Restlet) - Constructor for class org.restlet.ext.spring.SpringRouter
Constructor with a parent Restlet.
SpringServer - Class in org.restlet.ext.spring
Server that is easily configurable with Spring.
SpringServer(String) - Constructor for class org.restlet.ext.spring.SpringServer
Constructor.
SpringServer(String, int) - Constructor for class org.restlet.ext.spring.SpringServer
Constructor.
SpringServer(String, String, int) - Constructor for class org.restlet.ext.spring.SpringServer
Constructor.
SpringServerServlet - Class in org.restlet.ext.spring
Spring specific ServerServlet adapter.
SpringServerServlet() - Constructor for class org.restlet.ext.spring.SpringServerServlet
 

A C D E G H I O P R S

Copyright © 2005-2014 Restlet.