本文整理了Java中org.simpleframework.http.Request.getContentLength
方法的一些代码示例,展示了Request.getContentLength
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getContentLength
方法的具体详情如下:
包路径:org.simpleframework.http.Request
类名称:Request
方法名:getContentLength
暂无
代码示例来源:origin: org.simpleframework/simple-http
/**
* This is a convenience method that can be used to determine
* the length of the message body. This will determine if there
* is a <code>Content-Length</code> header, if it does then the
* length can be determined, if not then this returns -1.
*
* @return the content length, or -1 if it cannot be determined
*/
public long getContentLength() {
return request.getContentLength();
}
代码示例来源:origin: org.simpleframework/simple
/**
* This is a convenience method that can be used to determine
* the length of the message body. This will determine if there
* is a <code>Content-Length</code> header, if it does then the
* length can be determined, if not then this returns -1.
*
* @return the content length, or -1 if it cannot be determined
*/
public long getContentLength() {
return request.getContentLength();
}
代码示例来源:origin: org.restlet/org.restlet.ext.simple
@Override
protected long getContentLength() {
return request.getContentLength();
}
代码示例来源:origin: ngallagher/simpleframework
/**
* This is a convenience method that can be used to determine
* the length of the message body. This will determine if there
* is a <code>Content-Length</code> header, if it does then the
* length can be determined, if not then this returns -1.
*
* @return the content length, or -1 if it cannot be determined
*/
public long getContentLength() {
return request.getContentLength();
}
代码示例来源:origin: lantunes/fixd
public long getContentLength() {
return request.getContentLength();
}
内容来源于网络,如有侵权,请联系作者删除!