implement client repository methods

This commit is contained in:
Sebastian Sdorra
2011-05-10 17:00:05 +02:00
parent 2b31cf9309
commit 01ba5983f1
5 changed files with 403 additions and 3 deletions

View File

@@ -80,11 +80,22 @@ public class JerseyClientSession implements ScmClientSession
@Override
public void close() throws IOException
{
throw new UnsupportedOperationException("Not supported yet.");
client.destroy();
}
//~--- get methods ----------------------------------------------------------
/**
* Method description
*
*
* @return
*/
public Client getClient()
{
return client;
}
/**
* Method description
*
@@ -106,7 +117,7 @@ public class JerseyClientSession implements ScmClientSession
@Override
public ClientHandler<Repository> getRepositoryHandler()
{
throw new UnsupportedOperationException("Not supported yet.");
return new JerseyRepositoryClientHandler(this);
}
/**
@@ -118,7 +129,18 @@ public class JerseyClientSession implements ScmClientSession
@Override
public ScmState getState()
{
throw new UnsupportedOperationException("Not supported yet.");
return state;
}
/**
* Method description
*
*
* @return
*/
public ScmUrlProvider getUrlProvider()
{
return urlProvider;
}
/**