org.restlet.engine.adapter
Class Adapter

java.lang.Object
  extended by org.restlet.engine.adapter.Adapter
Direct Known Subclasses:
ClientAdapter, ServerAdapter

public class Adapter
extends Object

Converter between high-level and low-level HTTP calls.

Author:
Jerome Louvel

Constructor Summary
Adapter(Context context)
          Constructor.
 
Method Summary
 Context getContext()
          Returns the context.
 Logger getLogger()
          Returns the logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 Logger getLogger()
Returns the logger.

Returns:
The logger.


Copyright © 2005-2013 Restlet.