use of com.google.gwt.user.client.rpc.XsrfTokenServiceAsync in project ovirt-engine by oVirt.
the class BaseSystemModule method getXsrfTokenService.
@Provides
@Singleton
public XsrfTokenServiceAsync getXsrfTokenService() {
XsrfTokenServiceAsync service = GWT.create(XsrfTokenService.class);
((ServiceDefTarget) service).setServiceEntryPoint(GWT.getModuleBaseURL() + XsrfRpcRequestBuilder.XSRF_PATH);
return service;
}
Aggregations