class JanbaneryFactory {

  public Janbanery connectAndKeepUsing(String user, String password) throws ServerCommunicationException {
    DefaultConfiguration conf = new DefaultConfiguration(user, password);
    RestClient restClient = getRestClient(conf);
    return new Janbanery(conf, restClient);
  }

  public  JanbaneryFactory();
  public  JanbaneryFactory(AsyncHttpClient asyncHttpClient);
  public  JanbaneryFactory(RestClient restClient);

}