Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save BenDol/19d2b04a60c34847acc0 to your computer and use it in GitHub Desktop.
Save BenDol/19d2b04a60c34847acc0 to your computer and use it in GitHub Desktop.
Generated ManagementsProtocolImpl_0_getRequestCounts
package nz.co.doltech.actions.client.rest;
import javax.ws.rs.core.HttpHeaders;
import com.gwtplatform.dispatch.rest.client.AbstractRestAction;
import com.gwtplatform.dispatch.rest.client.parameters.HttpParameterFactory;
import com.gwtplatform.dispatch.rest.shared.HttpMethod;
import com.gwtplatform.dispatch.rest.shared.HttpParameter.Type;
public class ManagementsProtocolImpl_0_getRequestCounts extends AbstractRestAction<nz.co.doltech.actions.shared.core.RequestCounts> {
public ManagementsProtocolImpl_0_getRequestCounts(
HttpParameterFactory httpParameterFactory,
String defaultDateFormat,
nz.co.doltech.framework.shared.filters.Filter filter) {
super(httpParameterFactory, defaultDateFormat, HttpMethod.POST, "/managements/request_counts");
setBodyParam(filter);
}
@Override
public boolean isSecured() {
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment