Package org.restlet.engine.adapter
Class Adapter
- java.lang.Object
-
- org.restlet.engine.adapter.Adapter
-
- Direct Known Subclasses:
ClientAdapter,ServerAdapter
public class Adapter extends java.lang.ObjectConverter between high-level and low-level HTTP calls.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextgetContext()Returns the context.java.util.logging.LoggergetLogger()Returns the logger.
-
-
-
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.
-
-