Uses of Interface
com.yahoo.jdisc.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
Modifier and TypeClassDescriptionclass
ReferencedResource<T extends SharedResource>
Utility class for working with reference-countedSharedResource
s.Modifier 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).Modifier and TypeMethodDescriptionstatic ResourceReference
References.fromResource
(SharedResource resource) -
Uses of SharedResource in com.yahoo.jdisc.application
Modifier and TypeClassDescriptionfinal class
This is a utility class to help manageSharedResource
s while configuring aContainerBuilder
.Modifier 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
-
Uses of SharedResource in com.yahoo.jdisc.handler
Modifier and TypeInterfaceDescriptioninterface
interface
This interface defines a component that is capable of acting as a handler for aRequest
.Modifier 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
Modifier 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.Modifier 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
Modifier and TypeClassDescriptionfinal class
final class
final class