Created
May 6, 2015 12:02
-
-
Save BenDol/092aaca87a147b373aec to your computer and use it in GitHub Desktop.
Generated ManagementsProtocolImpl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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