Class Adapter

  • Direct Known Subclasses:
    ClientAdapter, ServerAdapter

    public class Adapter
    extends java.lang.Object
    Converter between high-level and low-level HTTP calls.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Context context
      The context.
    • Constructor Summary

      Constructors 
      Constructor Description
      Adapter​(Context context)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Context getContext()
      Returns the context.
      java.util.logging.Logger getLogger()
      Returns the logger.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • context

        private volatile Context context
        The context.
    • Constructor Detail

      • Adapter

        public Adapter​(Context context)
        Constructor.
        Parameters:
        context - The context to use.
    • Method Detail

      • getContext

        public Context getContext()
        Returns the context.
        Returns:
        The context.
      • getLogger

        public java.util.logging.Logger getLogger()
        Returns the logger.
        Returns:
        The logger.