Package co.featbit.server.exterior
Interface Context
public interface Context
Context is used to create components, context information provided by the
FBClientImp
This is passed as parameter to component factories. Component factories do not receive the entire FBConfig
because it contains only factory implementations.
Note that the actual implementation class may contain other properties that are only relevant to the built-in SDK components and are therefore not part of the public interface; this allows the SDK to add its own context information as needed without disturbing the public API.
-
Method Summary
Modifier and TypeMethodDescriptionthe basic config, ex envSecret, offline, of SDKhttp()The networking properties that apply to all components.
-
Method Details
-
basicConfig
BasicConfig basicConfig()the basic config, ex envSecret, offline, of SDK- Returns:
- basic configuration
-
http
HttpConfig http()The networking properties that apply to all components.- Returns:
- http configuration
-