Uses of Class
org.restlet.resource.ServerResource
- 
Packages that use ServerResource Package Description org.restlet Core classes of the API.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.resource
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) 
 -