Interface SynchronousContextProvider

All Superinterfaces:
com.mongodb.ContextProvider

@ThreadSafe public interface SynchronousContextProvider extends com.mongodb.ContextProvider
A ContextProvider for synchronous clients.
Since:
4.4
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mongodb.RequestContext
    Get the request context.
  • Method Details

    • getContext

      com.mongodb.RequestContext getContext()
      Get the request context.
      Returns:
      the request context