Uses of Class
org.restlet.resource.ServerResource
-
Packages that use ServerResource Package Description org.restlet Core classes of the API.org.restlet.engine.component Supports Restlet components.org.restlet.engine.local Supports local connectors and resources.org.restlet.ext.guice Integration with Google Guice @minor-version@.org.restlet.ext.javamail Integration with JavaMail @minor-version@ (POP3 and SMTP clients).org.restlet.ext.wadl Support the WADL specification.org.restlet.resource Client and server resource classes.org.restlet.routing Classes related to call routing. -
-
Uses of ServerResource in org.restlet
Method parameters in org.restlet with type arguments of type ServerResource Modifier and Type Method Description FinderRestlet. createFinder(java.lang.Class<? extends ServerResource> resourceClass)Creates a new finder instance based on the "targetClass" property.voidApplication. setInboundRoot(java.lang.Class<? extends ServerResource> inboundRootClass)Sets the inbound root Resource class.voidServer. setNext(java.lang.Class<? extends ServerResource> nextClass)Sets the next Restlet as a Finder for a given resource class.voidApplication. setOutboundRoot(java.lang.Class<? extends ServerResource> outboundRootClass)Sets the outbound root Resource class.Constructor parameters in org.restlet with type arguments of type ServerResource Constructor Description Server(Context context, Protocol protocol, int port, java.lang.Class<? extends ServerResource> nextClass)Constructor.Server(Context context, Protocol protocol, java.lang.Class<? extends ServerResource> nextClass)Constructor.Server(Protocol protocol, int port, java.lang.Class<? extends ServerResource> nextClass)Constructor.Server(Protocol protocol, java.lang.Class<? extends ServerResource> nextClass)Constructor using the protocol's default port.Server(Protocol protocol, java.lang.String address, java.lang.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 ServerResource Modifier and Type Method Description FinderInternalRouter. createFinder(java.lang.Class<? extends ServerResource> targetClass) -
Uses of ServerResource in org.restlet.engine.local
Subclasses of ServerResource in org.restlet.engine.local Modifier and Type Class Description classDirectoryServerResourceResource supported by a set of context representations (from file system, class loaders and webapp context). -
Uses of ServerResource in org.restlet.ext.guice
Subclasses of ServerResource in org.restlet.ext.guice Modifier and Type Class Description classSelfInjectingServerResourceBase class for ServerResources that do their own member injection.Methods in org.restlet.ext.guice that return ServerResource Modifier and Type Method Description ServerResourceRestletGuice.Module.ServerResourceKeyFinder. create(Request request, Response response)Methods in org.restlet.ext.guice that return types with arguments of type ServerResource Modifier and Type Method Description java.lang.Class<? extends ServerResource>RestletGuice.Module.KeyFinder. getTargetClass()Method parameters in org.restlet.ext.guice with type arguments of type ServerResource Modifier and Type Method Description FinderResourceInjectingApplication. createFinder(java.lang.Class<? extends ServerResource> targetClass) -
Uses of ServerResource in org.restlet.ext.javamail
Subclasses of ServerResource in org.restlet.ext.javamail Modifier and Type Class Description classTriggerResourceDeprecated.Will be removed in next major release. -
Uses of ServerResource in org.restlet.ext.wadl
Subclasses of ServerResource in org.restlet.ext.wadl Modifier and Type Class Description classWadlServerResourceDeprecated.Will be removed in next major release.Methods in org.restlet.ext.wadl with parameters of type ServerResource Modifier and Type Method Description static voidMethodInfo. describeAnnotations(MethodInfo info, ServerResource resource)Deprecated.Automatically describe a method by discovering the resource's annotations. -
Uses of ServerResource in org.restlet.resource
Fields in org.restlet.resource with type parameters of type ServerResource Modifier and Type Field Description private java.lang.Class<? extends ServerResource>Finder. targetClassTargetServerResourcesubclass.Methods in org.restlet.resource that return ServerResource Modifier and Type Method Description ServerResourceFinder. create(java.lang.Class<? extends ServerResource> targetClass, Request request, Response response)Creates a new instance of a givenServerResourcesubclass.ServerResourceFinder. create(Request request, Response response)Creates a new instance of theServerResourcesubclass designated by the "targetClass" property.ServerResourceFinder. find(Request request, Response response)Finds the targetServerResourceif available.Methods in org.restlet.resource that return types with arguments of type ServerResource Modifier and Type Method Description java.lang.Class<? 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 ServerResource Modifier and Type Method Description ServerResourceFinder. create(java.lang.Class<? extends ServerResource> targetClass, Request request, Response response)Creates a new instance of a givenServerResourcesubclass.static FinderFinder. createFinder(java.lang.Class<? extends ServerResource> targetClass, java.lang.Class<? extends Finder> finderClass, Context context, java.util.logging.Logger logger)Creates a new finder instance based on the "targetClass" property.voidFinder. setTargetClass(java.lang.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 ServerResource Constructor Description Finder(Context context, java.lang.Class<? extends ServerResource> targetClass)Constructor. -
Uses of ServerResource in org.restlet.routing
Method parameters in org.restlet.routing with type arguments of type ServerResource Modifier and Type Method Description TemplateRouteRouter. attach(java.lang.String pathTemplate, java.lang.Class<? extends ServerResource> targetClass)Attaches a target Resource class to this router based on a given URI pattern.TemplateRouteRouter. attach(java.lang.String pathTemplate, java.lang.Class<? extends ServerResource> targetClass, int matchingMode)Attaches a target Resource class to this router based on a given URI pattern.TemplateRouteRouter. attachDefault(java.lang.Class<? extends ServerResource> defaultTargetClass)Attaches a Resource class to this router as the default target to invoke when no route matches.FinderVirtualHost. createFinder(java.lang.Class<? extends ServerResource> targetClass)Creates a new finder instance based on the "targetClass" property.voidFilter. setNext(java.lang.Class<? extends ServerResource> targetClass)
-