Skip to content

Instantly share code, notes, and snippets.

@BenDol
Created May 6, 2015 12:02
Show Gist options
  • Save BenDol/092aaca87a147b373aec to your computer and use it in GitHub Desktop.
Save BenDol/092aaca87a147b373aec to your computer and use it in GitHub Desktop.
Generated ManagementsProtocolImpl
package nz.co.doltech.actions.client.rest;
import javax.inject.Inject;
import com.gwtplatform.dispatch.rest.client.DefaultDateFormat;
import com.gwtplatform.dispatch.rest.client.parameters.HttpParameterFactory;
import com.gwtplatform.dispatch.rest.shared.RestAction;
import nz.co.doltech.actions.client.rest.ManagementsProtocol;
import nz.co.doltech.actions.client.rest.ManagementsProtocolImpl_0_getRequestCounts;
public class ManagementsProtocolImpl implements ManagementsProtocol {
private final HttpParameterFactory httpParameterFactory;
private final String defaultDateFormat;
@Inject
ManagementsProtocolImpl(
HttpParameterFactory httpParameterFactory,
@DefaultDateFormat String defaultDateFormat) {
this.defaultDateFormat = defaultDateFormat;
this.httpParameterFactory = httpParameterFactory;
}
@Override
public RestAction<nz.co.doltech.actions.shared.core.RequestCounts> getRequestCounts(
nz.co.doltech.framework.shared.filters.Filter filter) {
return new ManagementsProtocolImpl_0_getRequestCounts(
httpParameterFactory,
defaultDateFormat,
filter);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment