本文整理汇总了Java中com.google.web.bindery.requestfactory.shared.Request类的典型用法代码示例。如果您正苦于以下问题:Java Request类的具体用法?Java Request怎么用?Java Request使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Request类属于com.google.web.bindery.requestfactory.shared包,在下文中一共展示了Request类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: find
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
@Override
public <P extends EntityProxy> Request<P> find(final EntityProxyId<P> proxyId) {
return new AbstractRequest<BaseProxy, P>(this) {
{
this.requestContext.addInvocation(this);
}
@Override
protected RequestData makeRequestData() {
// This method is normally generated, hence the ugly constructor
return new RequestData(Constants.FIND_METHOD_OPERATION, new Object[] {proxyId},
this.propertyRefs, proxyId.getProxyClass(), null);
}
};
}
示例2: getPeople
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<List<PersonProxy>> getPeople(int startIndex, int maxCount,
List<Boolean> dayFilter);
示例3: createTimeSlot
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<TimeSlotProxy> createTimeSlot(int zeroBasedDayOfWeek, int startMinutes,
int endMinutes);
示例4: sync
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<List<SessionProxy>> sync(List<SessionProxy> toStar,
List<SessionProxy> toUnstar);
示例5: RequestAdapter
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
public RequestAdapter(PipeInput out2, QosEntry entry2, Request request2) {
this.out = out2;
this.entry = entry2;
this.request = request2;
}
示例6: with
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
@Override
public Request with(String... propertyRefs) {
return request.with(propertyRefs);
}
示例7: RequestContextEntry
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
public RequestContextEntry(Request request) {
this(request.getRequestContext());
}
示例8: add
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
@Override
public void add(Request r) {
add(new RequestContextEntry(r));
}
示例9: findAllTasks
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
/**
* Create a {@link Request} for all tasks.
*
* @return a {@link Request}
*/
Request<List<TaskProxy>> findAllTasks();
示例10: findTask
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
/**
* Create a {@link Request} to find a Task by id.
*
* @param id the task id
* @return a {@link Request}
*/
Request<TaskProxy> findTask(Long id);
示例11: get
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<CharacterProxy> get(Integer id);
示例12: persist
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<Void> persist(CharacterProxy character);
示例13: delete
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<Void> delete(CharacterProxy character);
示例14: findById
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<DudeProxy> findById(int id);
示例15: getListByRange
import com.google.web.bindery.requestfactory.shared.Request; //导入依赖的package包/类
Request<List<DudeProxy>> getListByRange(int start, int end);