Uses of Class
org.restlet.resource.ServerResource
Packages that use ServerResource
Package
Description
Core classes of the Restlet API.
Supports Restlet components.
Supports local connectors and resources.
Client and server resource classes.
Classes related to call routing.
-
Uses of ServerResource in org.restlet
Method parameters in org.restlet with type arguments of type ServerResourceModifier and TypeMethodDescriptionRestlet.createFinder(Class<? extends ServerResource> resourceClass) Creates a new finder instance based on the "targetClass" property.voidApplication.setInboundRoot(Class<? extends ServerResource> inboundRootClass) Sets the inbound root Resource class.voidServer.setNext(Class<? extends ServerResource> nextClass) Sets the next Restlet as a Finder for a given resource class.voidApplication.setOutboundRoot(Class<? extends ServerResource> outboundRootClass) Sets the outbound root Resource class.Constructor parameters in org.restlet with type arguments of type ServerResourceModifierConstructorDescriptionServer(Context context, Protocol protocol, int port, Class<? extends ServerResource> nextClass) Constructor.Server(Context context, Protocol protocol, Class<? extends ServerResource> nextClass) Constructor.Server(Protocol protocol, int port, Class<? extends ServerResource> nextClass) Constructor.Server(Protocol protocol, Class<? extends ServerResource> nextClass) Constructor using the protocol's default port.Server(Protocol protocol, String address, Class<? extends ServerResource> nextClass) Constructor using the protocol's default port. -
Uses of ServerResource in org.restlet.engine.component
Method parameters in org.restlet.engine.component with type arguments of type ServerResourceModifier and TypeMethodDescriptionInternalRouter.createFinder(Class<? extends ServerResource> targetClass) -
Uses of ServerResource in org.restlet.engine.local
Subclasses of ServerResource in org.restlet.engine.localModifier and TypeClassDescriptionclassResource supported by a set of context representations (from file system, class loaders and webapp context). -
Uses of ServerResource in org.restlet.resource
Methods in org.restlet.resource that return ServerResourceModifier and TypeMethodDescriptionFinder.create(Class<? extends ServerResource> targetClass, Request request, Response response) Creates a new instance of a givenServerResourcesubclass.Creates a new instance of theServerResourcesubclass designated by the "targetClass" property.Finds the targetServerResourceif available.Methods in org.restlet.resource that return types with arguments of type ServerResourceModifier and TypeMethodDescriptionClass<? extends ServerResource>Finder.getTargetClass()Returns the target resource class which must be either a subclass ofServerResource.Method parameters in org.restlet.resource with type arguments of type ServerResourceModifier and TypeMethodDescriptionFinder.create(Class<? extends ServerResource> targetClass, Request request, Response response) Creates a new instance of a givenServerResourcesubclass.static FinderFinder.createFinder(Class<? extends ServerResource> targetClass, Class<? extends Finder> finderClass, Context context, Logger logger) Creates a new finder instance based on the "targetClass" property.voidFinder.setTargetClass(Class<? extends ServerResource> targetClass) Sets the target resource class which must be a subclass ofServerResource.Constructor parameters in org.restlet.resource with type arguments of type ServerResourceModifierConstructorDescriptionFinder(Context context, Class<? extends ServerResource> targetClass) Constructor. -
Uses of ServerResource in org.restlet.routing
Method parameters in org.restlet.routing with type arguments of type ServerResourceModifier and TypeMethodDescriptionRouter.attach(String pathTemplate, Class<? extends ServerResource> targetClass) Attaches a target Resource class to this router based on a given URI pattern.Router.attach(String pathTemplate, Class<? extends ServerResource> targetClass, int matchingMode) Attaches a target Resource class to this router based on a given URI pattern.Router.attachDefault(Class<? extends ServerResource> defaultTargetClass) Attaches a Resource class to this router as the default target to invoke when no route matches.VirtualHost.createFinder(Class<? extends ServerResource> targetClass) Creates a new finder instance based on the "targetClass" property.voidFilter.setNext(Class<? extends ServerResource> targetClass)