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 Finder
Restlet. createFinder(java.lang.Class<? extends ServerResource> resourceClass)
Creates a new finder instance based on the "targetClass" property.void
Application. setInboundRoot(java.lang.Class<? extends ServerResource> inboundRootClass)
Sets the inbound root Resource class.void
Server. setNext(java.lang.Class<? extends ServerResource> nextClass)
Sets the next Restlet as a Finder for a given resource class.void
Application. 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 ServerResource
Finder. create(java.lang.Class<? extends ServerResource> targetClass, Request request, Response response)
Creates a new instance of a givenServerResource
subclass.ServerResource
Finder. create(Request request, Response response)
Creates a new instance of theServerResource
subclass designated by the "targetClass" property.ServerResource
Finder. find(Request request, Response response)
Finds the targetServerResource
if 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 ServerResource
Finder. create(java.lang.Class<? extends ServerResource> targetClass, Request request, Response response)
Creates a new instance of a givenServerResource
subclass.static Finder
Finder. 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.void
Finder. 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 TemplateRoute
Router. 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.TemplateRoute
Router. 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.TemplateRoute
Router. attachDefault(java.lang.Class<? extends ServerResource> defaultTargetClass)
Attaches a Resource class to this router as the default target to invoke when no route matches.Finder
VirtualHost. createFinder(java.lang.Class<? extends ServerResource> targetClass)
Creates a new finder instance based on the "targetClass" property.void
Filter. setNext(java.lang.Class<? extends ServerResource> targetClass)
-