Uses of Class
org.restlet.Context
Packages that use Context
Package
Description
Core classes of the Restlet API.
Implementation of Restlet API.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Supports Restlet applications.
Supports Restlet components.
Integration with Java URLConnection class.
Supports the log service.
General utilities.
Client and server resource classes.
Classes related to call routing.
Classes related to security.
Services used by applications and components.
Various utility classes.
-
Uses of Context in org.restlet
Methods in org.restlet that return ContextModifier and TypeMethodDescriptionContext.createChildContext()Creates a protected child context.Restlet.getContext()Returns the context.static ContextContext.getCurrent()Returns the context associated to the currentRestlet.Methods in org.restlet with parameters of type ContextModifier and TypeMethodDescriptionvoidApplication.setContext(Context context) voidComponent.setContext(Context context) voidRestlet.setContext(Context context) Sets the context.static voidContext.setCurrent(Context context) Sets the context to associated with the current thread.Constructors in org.restlet with parameters of type ContextModifierConstructorDescriptionApplication(Context context) Constructor.Constructor.Constructor.Constructor.Constructor.Constructor.Constructor with the Restlet's context which can be the parent's application context, but shouldn't be the parent Component's context for security reasons.Constructor.Constructor.Server(Context context, List<Protocol> protocols, String address, int port, Restlet next, String helperClass) Constructor.Constructor.Constructor.Server(Context context, Protocol protocol, int port, Class<? extends ServerResource> nextClass) Constructor.Constructor.Server(Context context, Protocol protocol, Class<? extends ServerResource> nextClass) Constructor.Constructor.Constructor using the protocol's default port. -
Uses of Context in org.restlet.engine
Methods in org.restlet.engine that return Context -
Uses of Context in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return ContextConstructors in org.restlet.engine.adapter with parameters of type ContextModifierConstructorDescriptionConstructor.ClientAdapter(Context context) Constructor.HttpRequest(Context context, ServerCall httpCall) Constructor.ServerAdapter(Context context) Constructor. -
Uses of Context in org.restlet.engine.application
Methods in org.restlet.engine.application with parameters of type ContextModifier and TypeMethodDescriptionvoidApplicationHelper.setContext(Context context) Sets the context.Constructors in org.restlet.engine.application with parameters of type ContextModifierConstructorDescriptionCorsFilter(Context context) Constructor.CorsFilter(Context context, Restlet next) Constructor.Constructor to only decode request entities before handling.Constructor.Encoder(Context context, boolean encodingRequest, boolean encodingResponse, EncoderService encoderService) Constructor.RangeFilter(Context context) Constructor.StatusFilter(Context context, boolean overwriting) Constructor.StatusFilter(Context context, StatusService statusService) Constructor from a status service.TunnelFilter(Context context) Constructor. -
Uses of Context in org.restlet.engine.component
Subclasses of Context in org.restlet.engine.componentModifier and TypeClassDescriptionclassContext allowing access to the component's connectors.Methods in org.restlet.engine.component that return ContextConstructors in org.restlet.engine.component with parameters of type Context -
Uses of Context in org.restlet.engine.connector
Methods in org.restlet.engine.connector that return ContextModifier and TypeMethodDescriptionConnectorHelper.getContext()Returns the helped Restlet context. -
Uses of Context in org.restlet.engine.log
Constructors in org.restlet.engine.log with parameters of type Context -
Uses of Context in org.restlet.engine.util
Subclasses of Context in org.restlet.engine.utilModifier and TypeClassDescriptionclassContext based on a parent component's context but dedicated to a child Restlet, typically to an application.Methods in org.restlet.engine.util that return ContextModifier and TypeMethodDescriptionprotected ContextChildContext.getParentContext()Returns the parent context.Constructors in org.restlet.engine.util with parameters of type Context -
Uses of Context in org.restlet.resource
Methods in org.restlet.resource that return ContextMethods in org.restlet.resource with parameters of type ContextModifier and TypeMethodDescriptionstatic <T> TCreates a client resource that proxy calls to the given Java interface into Restlet method calls.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.voidInitialization method setting the environment of the current resource instance.Constructors in org.restlet.resource with parameters of type ContextModifierConstructorDescriptionClientResource(Context context, String uri) Constructor.ClientResource(Context context, URI uri) Constructor.ClientResource(Context context, Method method, String uri) Constructor.ClientResource(Context context, Method method, URI uri) Constructor.ClientResource(Context context, Method method, Reference reference) Constructor.ClientResource(Context context, Reference reference) Constructor.ClientResource(Context context, Request request) Constructor.ClientResource(Context context, Request request, Response response) Constructor.Constructor.Constructor.Constructor.Finder(Context context, Class<? extends ServerResource> targetClass) Constructor. -
Uses of Context in org.restlet.routing
Methods in org.restlet.routing with parameters of type ContextConstructors in org.restlet.routing with parameters of type ContextModifierConstructorDescriptionConstructor.Constructor.Constructor.Constructor.Redirector(Context context, String targetTemplate) Constructor for the client dispatcher mode.Redirector(Context context, String targetPattern, int mode) Constructor.Constructor.Constructor.Constructor.VirtualHost(Context parentContext) Constructor.VirtualHost(Context parentContext, String hostDomain, String hostPort, String hostScheme, String resourceDomain, String resourcePort, String resourceScheme, String serverAddress, String serverPort) Constructor. -
Uses of Context in org.restlet.security
Constructors in org.restlet.security with parameters of type ContextModifierConstructorDescriptionAuthenticator(Context context) Constructor setting the mode to "required".Authenticator(Context context, boolean optional) Constructor using the context's default enroler.Authenticator(Context context, boolean multiAuthenticating, boolean optional, Enroler enroler) Constructor.Authenticator(Context context, boolean optional, Enroler enroler) Constructor.CertificateAuthenticator(Context context) ChallengeAuthenticator(Context context, boolean optional, ChallengeScheme challengeScheme, String realm) Constructor using the context's default verifier.ChallengeAuthenticator(Context context, boolean optional, ChallengeScheme challengeScheme, String realm, Verifier verifier) Constructor.ChallengeAuthenticator(Context context, ChallengeScheme challengeScheme, String realm) Constructor setting the optional property to false. -
Uses of Context in org.restlet.service
Methods in org.restlet.service that return ContextMethods in org.restlet.service with parameters of type ContextModifier and TypeMethodDescriptionCorsService.createInboundFilter(Context context) DecoderService.createInboundFilter(Context context) EncoderService.createInboundFilter(Context context) LogService.createInboundFilter(Context context) RangeService.createInboundFilter(Context context) Service.createInboundFilter(Context context) Create the filter that should be invoked for incoming calls.StatusService.createInboundFilter(Context context) TunnelService.createInboundFilter(Context context) DecoderService.createOutboundFilter(Context context) EncoderService.createOutboundFilter(Context context) Service.createOutboundFilter(Context context) Create the filter that should be invoked for outgoing calls.voidService.setContext(Context context) Sets the context. -
Uses of Context in org.restlet.util
Methods in org.restlet.util that return ContextModifier and TypeMethodDescriptionClientList.getContext()Returns the context.ServerList.getContext()Returns the context.ServiceList.getContext()Returns the context.WrapperRestlet.getContext()Methods in org.restlet.util with parameters of type ContextModifier and TypeMethodDescriptionvoidClientList.setContext(Context context) Sets the context.voidServerList.setContext(Context context) Sets the context.voidServiceList.setContext(Context context) Sets the context.voidWrapperRestlet.setContext(Context context) Constructors in org.restlet.util with parameters of type ContextModifierConstructorDescriptionClientList(Context context) Constructor.ServerList(Context context, Restlet next) Constructor.ServiceList(Context context) Constructor.