本文整理了Java中org.apache.coyote.Request.setContentLength
方法的一些代码示例,展示了Request.setContentLength
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setContentLength
方法的具体详情如下:
包路径:org.apache.coyote.Request
类名称:Request
方法名:setContentLength
暂无
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Set the content length on the request.
*/
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Set the content length on the request.
*/
@Override
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Set the content length on the request.
*/
@Override
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Set the content length on the request.
*/
@Override
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
/**
* Set the content length on the request.
*/
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Set the content length on the request.
*/
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Set the content length on the request.
*/
@Override
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
/**
* Set the content length on the request.
*/
@Override
public void setRequest(org.apache.coyote.Request request) {
request.setContentLength(input.getLength());
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
@Override
protected final void setRequestBody(ByteChunk body) {
int length = body.getLength();
bodyBytes.setBytes(body.getBytes(), body.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
replay = true;
endOfStream = false;
}
代码示例来源:origin: jboss.web/jbossweb
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.jboss.web/jbossweb
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.jboss.web/jbossweb
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
int length = bc.getLength();
bodyBytes.setBytes(bc.getBytes(), bc.getStart(), length);
request.setContentLength(length);
first = false;
empty = false;
代码示例来源:origin: org.jboss.web/jbossweb
request.setContentLength(-1);
} else {
inputBuffer.addActiveFilter(inputFilters[Constants.IDENTITY_FILTER]);
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
req.setContentLength( (int)cl );
} else if (hId == AjpConstants.SC_REQ_CONTENT_TYPE ||
(hId == -1 && tmpMB.equalsIgnoreCase("Content-Type"))) {
代码示例来源:origin: jboss.web/jbossweb
(hId == -1 && tmpMB.equalsIgnoreCase("Content-Length"))) {
request.setContentLength( vMB.getInt() );
} else if (hId == Constants.SC_REQ_CONTENT_TYPE ||
(hId == -1 && tmpMB.equalsIgnoreCase("Content-Type"))) {
代码示例来源:origin: jboss.web/jbossweb
(hId == -1 && tmpMB.equalsIgnoreCase("Content-Length"))) {
request.setContentLength( vMB.getInt() );
} else if (hId == Constants.SC_REQ_CONTENT_TYPE ||
(hId == -1 && tmpMB.equalsIgnoreCase("Content-Type"))) {
代码示例来源:origin: org.jboss.web/jbossweb
contentLengthSet = true;
request.setContentLength(cl);
内容来源于网络,如有侵权,请联系作者删除!