Home
last modified time | relevance | path

Searched refs:setContentLength (Results 1 – 24 of 24) sorted by relevance

/external/jetty/src/java/org/eclipse/jetty/http/gzip/
DCompressedResponseWrapper.java179 public void setContentLength(int length) in setContentLength() method in CompressedResponseWrapper
182 super.setContentLength(length); in setContentLength()
184 setContentLength((long)length); in setContentLength()
188 protected void setContentLength(long length) in setContentLength() method in CompressedResponseWrapper
192 _compressedStream.setContentLength(); in setContentLength()
198 response.setContentLength((int)_contentLength); in setContentLength()
218 _compressedStream.setContentLength(); in addHeader()
360 super.setContentLength((int)_contentLength); in setDeferredHeaders()
380 setContentLength(Long.parseLong(value)); in setHeader()
461 _compressedStream.setContentLength(); in setIntHeader()
DAbstractCompressedStream.java94 public void setContentLength() in setContentLength() method in AbstractCompressedStream
102 _response.setContentLength((int)length); in setContentLength()
148 _wrapper.setContentLength(length); in close()
288 setContentLength(); in doNotCompress()
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java85 entity.setContentLength(-1); in doDeserialize()
89 entity.setContentLength(-1); in doDeserialize()
93 entity.setContentLength(len); in doDeserialize()
/external/jetty/src/java/org/eclipse/jetty/server/
DResponse.java393 setContentLength(writer.size()); in sendError()
545 _connection._generator.setContentLength(-1); in setHeader()
547 _connection._generator.setContentLength(Long.parseLong(value)); in setHeader()
603 _connection._generator.setContentLength(Long.parseLong(value)); in addHeader()
616 _connection._generator.setContentLength(value); in setIntHeader()
630 _connection._generator.setContentLength(value); in addIntHeader()
829 public void setContentLength(int len) in setContentLength() method in Response
836 _connection._generator.setContentLength(len); in setContentLength()
870 _connection._generator.setContentLength(len); in setLongContentLength()
/external/nist-sip/java/javax/sip/header/
DContentLengthHeader.java9 void setContentLength(int contentLength) throws InvalidArgumentException; in setContentLength() method
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java386 entity.setContentLength(-1); in receiveResponseEntity()
390 entity.setContentLength(-1); in receiveResponseEntity()
394 entity.setContentLength(len); in receiveResponseEntity()
DHeaders.java381 public void setContentLength(long value) { in setContentLength() method in Headers
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DDefaultHandler.java102 response.setContentLength(_favicon.length); in handle()
174 response.setContentLength(writer.size()); in handle()
DMovedContextHandler.java130 response.setContentLength(0); in handle()
DErrorHandler.java107 response.setContentLength(writer.size()); in handle()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentLengthParser.java59 contentLength.setContentLength(Integer.parseInt(number)); in parse()
/external/apache-http/src/org/apache/http/entity/
DBasicHttpEntity.java111 public void setContentLength(long len) { in setContentLength() method in BasicHttpEntity
/external/jetty/src/java/org/eclipse/jetty/http/
DGenerator.java89 void setContentLength(long length); in setContentLength() method
DAbstractGenerator.java243 public void setContentLength(long value) in setContentLength() method in AbstractGenerator
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLength.java115 public void setContentLength(int contentLength) in setContentLength() method in ContentLength
DHeaderFactoryImpl.java396 c.setContentLength(contentLength); in createContentLengthHeader()
/external/nist-sip/java/javax/sip/message/
DMessage.java35 void setContentLength(ContentLengthHeader contentLength); in setContentLength() method
/external/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java543 response.setContentLength(0); in doGet()
554 response.setContentLength(0); in doGet()
849 response.setContentLength(data.length); in sendDirectory()
1012 response.setContentLength(length); in sendData()
1088 response.setContentLength((int)count); in writeHeaders()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java662 contentLengthHeader.setContentLength(cl.getContentLength()); in attachHeader()
1360 contentLengthHeader.setContentLength(length); in computeContentLength()
1374 this.contentLengthHeader.setContentLength(0); in removeContent()
1534 contentLengthHeader.setContentLength(cl.getContentLength()); in addHeader()
1705 public void setContentLength(ContentLengthHeader contentLength) { in setContentLength() method in SIPMessage
1707 this.contentLengthHeader.setContentLength(contentLength.getContentLength()); in setContentLength()
DSIPRequest.java838 ((ContentLength) nextHeader).setContentLength(0); in createAckRequest()
1017 cl.setContentLength(0); in createSIPRequest()
/external/jetty/src/java/org/eclipse/jetty/security/
DConstraintSecurityHandler.java715 response.setContentLength(0); in checkUserDataPermissions()
738 response.setContentLength(0); in checkUserDataPermissions()
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DDeferredAuthentication.java279 public void setContentLength(int len)
DFormAuthenticator.java243 response.setContentLength(0); in validateRequest()
/external/jetty/
DVERSION.txt589 + 373037 jetty.server.Response.setContentLength(int) should not close a Writer
3130 + JETTY-248 setContentLength after content written
3425 + Default servlet only uses setContentLength on wrapped responses
5510 + Protect setContentLength from a late set in default servlet HEAD handling.