本文整理了Java中org.restlet.Request.getOnSent
方法的一些代码示例,展示了Request.getOnSent
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getOnSent
方法的具体详情如下:
包路径:org.restlet.Request
类名称:Request
方法名:getOnSent
暂无
代码示例来源:origin: org.restlet.osgi/org.restlet
/**
* Returns the callback invoked after sending the request.
*
* @return The callback invoked after sending the request.
*/
public Uniform getOnSent() {
return getRequest().getOnSent();
}
代码示例来源:origin: org.restlet.jee/org.restlet.ext.net
@Override
public void sendRequest(Request request, Response response, Uniform callback)
throws Exception {
// Send the request
sendRequest(request);
if (request.getOnSent() != null) {
request.getOnSent().handle(request, response);
}
if (callback != null) {
// Transmit to the callback, if any.
callback.handle(request, response);
}
}
代码示例来源:origin: org.restlet.jee/org.restlet.ext.httpclient
@Override
public void sendRequest(Request request, Response response, Uniform callback)
throws Exception {
sendRequest(request);
if (request.getOnSent() != null) {
request.getOnSent().handle(request, response);
}
if (callback != null) {
// Transmit to the callback, if any.
callback.handle(request, response);
}
}
}
代码示例来源:origin: org.restlet.osgi/org.restlet
@Override
public void sendRequest(Request request, Response response, Uniform callback)
throws Exception {
// Send the request
sendRequest(request);
if (request.getOnSent() != null) {
request.getOnSent().handle(request, response);
}
if (callback != null) {
// Transmit to the callback, if any.
callback.handle(request, response);
}
}
代码示例来源:origin: org.restlet.jse/org.restlet.ext.net
@Override
public void sendRequest(Request request, Response response, Uniform callback)
throws Exception {
// Send the request
sendRequest(request);
if (request.getOnSent() != null) {
request.getOnSent().handle(request, response);
}
if (callback != null) {
// Transmit to the callback, if any.
callback.handle(request, response);
}
}
代码示例来源:origin: org.restlet.osgi/org.restlet
this.setOnSent(request.getOnSent());
内容来源于网络,如有侵权,请联系作者删除!