return new DeleteMethodBinding(theMethod, theContext, theProvider); } else if (patch != null) { return new PatchMethodBinding(theMethod, theContext, theProvider); } else if (history != null) { return new HistoryMethodBinding(theMethod, theContext, theProvider);
@Override protected void addParametersForServerRequest(RequestDetails theRequest, Object[] theParams) { IIdType id = theRequest.getId(); id = UpdateMethodBinding.applyETagAsVersion(theRequest, id); theParams[getIdParameterIndex()] = id; }
@Override protected void addParametersForServerRequest(RequestDetails theRequest, Object[] theParams) { IIdType id = theRequest.getId(); id = UpdateMethodBinding.applyETagAsVersion(theRequest, id); theParams[getIdParameterIndex()] = id; }
return new DeleteMethodBinding(theMethod, theContext, theProvider); } else if (patch != null) { return new PatchMethodBinding(theMethod, theContext, theProvider); } else if (history != null) { return new HistoryMethodBinding(theMethod, theContext, theProvider);