Uses of Interface
com.yahoo.jdisc.SharedResource
Packages that use SharedResource
Package
Description
Provides the common classes and interfaces of the jDISC core.
Provides classes and interfaces for implementing an
Application
.Provides classes and interfaces for implementing a
RequestHandler
.Provides classes and interfaces for implementing a
ClientProvider
or
a ServerProvider
.Provides classes and interfaces for implementing unit tests of jDISC components.
-
Uses of SharedResource in com.yahoo.jdisc
Classes in com.yahoo.jdisc with type parameters of type SharedResourceModifier and TypeClassDescriptionclass
ReferencedResource<T extends SharedResource>
Utility class for working with reference-countedSharedResource
s.Subinterfaces of SharedResource in com.yahoo.jdiscClasses in com.yahoo.jdisc that implement SharedResourceModifier and TypeClassDescriptionclass
This class provides a thread-safe implementation of theSharedResource
interface, and should be used for all subclasses ofRequestHandler
,ClientProvider
andServerProvider
.class
An implementation ofSharedResource
that does not do anything.class
This class represents a single request (which may have any content model that aServerProvider
chooses to implement).Methods in com.yahoo.jdisc with parameters of type SharedResourceModifier and TypeMethodDescriptionstatic ResourceReference
References.fromResource
(SharedResource resource) -
Uses of SharedResource in com.yahoo.jdisc.application
Classes in com.yahoo.jdisc.application that implement SharedResourceModifier and TypeClassDescriptionfinal class
This is a utility class to help manageSharedResource
s while configuring aContainerBuilder
.Methods in com.yahoo.jdisc.application with type parameters of type SharedResourceModifier and TypeMethodDescription<T extends SharedResource>
TResourcePool.add
(T t) Adds the givenSharedResource
to this ResourcePool.<T extends SharedResource>
TResourcePool.get
(com.google.inject.Key<T> key) Returns the appropriate instance for the given injection key.<T extends SharedResource>
TReturns the appropriate instance for the given injection type.<T extends SharedResource>
TResourcePool.retain
(T t) Retains and adds the givenSharedResource
to this ResourcePool. -
Uses of SharedResource in com.yahoo.jdisc.core
Classes in com.yahoo.jdisc.core that implement SharedResource -
Uses of SharedResource in com.yahoo.jdisc.handler
Subinterfaces of SharedResource in com.yahoo.jdisc.handlerModifier and TypeInterfaceDescriptioninterface
interface
This interface defines a component that is capable of acting as a handler for aRequest
.Classes in com.yahoo.jdisc.handler that implement SharedResourceModifier and TypeClassDescriptionclass
This class provides an abstractRequestHandler
implementation with reasonable defaults for everything butRequestHandler.handleRequest(Request, ResponseHandler)
.class
This class implements aRequestHandler
with a synchronousThreadedRequestHandler.handleRequest(Request, BufferedContentChannel, ResponseHandler)
API for handlingRequest
s. -
Uses of SharedResource in com.yahoo.jdisc.service
Subinterfaces of SharedResource in com.yahoo.jdisc.serviceModifier and TypeInterfaceDescriptioninterface
This interface defines a component that is capable of acting as a client to an external server.interface
This interface defines a component that is capable of acting as a server for an external client.Classes in com.yahoo.jdisc.service that implement SharedResourceModifier and TypeClassDescriptionclass
This is a convenient parent class forClientProvider
with default implementations for all but the essentialRequestHandler.handleRequest(Request, ResponseHandler)
method.class
This is a convenient parent class forServerProvider
with default implementations for all but the essentialServerProvider.start()
andServerProvider.close()
methods. -
Uses of SharedResource in com.yahoo.jdisc.test
Classes in com.yahoo.jdisc.test that implement SharedResourceModifier and TypeClassDescriptionfinal class
final class
final class