Package com.github.ambry.rest
Interface RestRequestServiceFactory
-
public interface RestRequestServiceFactory
RestRequestServiceFactory is a factory to generate all the supporting cast required to instantiate aRestRequestService
. Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestRequestService
getRestRequestService()
Returns an instance of theRestRequestService
that the factory generates.
-
-
-
Method Detail
-
getRestRequestService
RestRequestService getRestRequestService() throws java.lang.InstantiationException
Returns an instance of theRestRequestService
that the factory generates.- Returns:
- an instance of
RestRequestService
generated by this factory. - Throws:
java.lang.InstantiationException
- if theRestRequestService
instance cannot be created.
-
-