Skip to content

Commit

Permalink
Updating to latest (m6) api
Browse files Browse the repository at this point in the history
  • Loading branch information
asoldano committed Apr 21, 2017
1 parent 52e4f5d commit 7622e4c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import javax.ws.rs.core.GenericType;
import javax.ws.rs.core.Response;

import org.jboss.resteasy.spi.NotImplementedYetException;

import java.util.concurrent.Future;

/**
Expand Down Expand Up @@ -243,27 +245,28 @@ public <T> Future<T> method(String name, Entity<?> entity, InvocationCallback<T>
return invocation.submit(callback);
}

@Override
public Future<Response> patch() {
// TODO Auto-generated method stub
return null;
}
@Override
public Future<Response> patch(Entity<?> entity) {
throw new NotImplementedYetException();
}

@Override
public <T> Future<T> patch(Class<T> responseType) {
// TODO Auto-generated method stub
return null;
}
@Override
public <T> Future<T> patch(Entity<?> entity, Class<T> responseType)
{
throw new NotImplementedYetException();
}

@Override
public <T> Future<T> patch(Entity<?> entity, GenericType<T> responseType)
{
throw new NotImplementedYetException();
}

@Override
public <T> Future<T> patch(Entity<?> entity, InvocationCallback<T> callback)
{
throw new NotImplementedYetException();
}

@Override
public <T> Future<T> patch(GenericType<T> responseType) {
// TODO Auto-generated method stub
return null;
}

@Override
public <T> Future<T> patch(InvocationCallback<T> callback) {
// TODO Auto-generated method stub
return null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -333,20 +333,21 @@ public <T extends RxInvoker> T rx(Class<T> clazz)
}

@Override
public Response patch()
public Response patch(Entity<?> entity)
{
throw new NotImplementedYetException();
}

@Override
public <T> T patch(Class<T> responseType)
public <T> T patch(Entity<?> entity, Class<T> responseType)
{
throw new NotImplementedYetException();
}

@Override
public <T> T patch(GenericType<T> responseType)
public <T> T patch(Entity<?> entity, GenericType<T> responseType)
{
throw new NotImplementedYetException();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -365,20 +365,21 @@ public ExecutorService getExecutor()
}

@Override
public CompletionStage<Response> patch()
public CompletionStage<Response> patch(Entity<?> entity)
{
throw new NotImplementedYetException();
}

@Override
public <T> CompletionStage<T> patch(Class<T> responseType)
public <T> CompletionStage<T> patch(Entity<?> entity, Class<T> responseType)
{
throw new NotImplementedYetException();
}

@Override
public <T> CompletionStage<T> patch(GenericType<T> responseType)
public <T> CompletionStage<T> patch(Entity<?> entity, GenericType<T> responseType)
{
throw new NotImplementedYetException();
}

}

0 comments on commit 7622e4c

Please sign in to comment.