Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.util
Class TestEntityUtils.NullHttpEntity  view TestEntityUtils.NullHttpEntity download TestEntityUtils.NullHttpEntity.java

java.lang.Object
  extended byorg.apache.http.entity.AbstractHttpEntity
      extended byorg.apache.http.entity.BasicHttpEntity
          extended byorg.apache.http.util.TestEntityUtils.NullHttpEntity
All Implemented Interfaces:
org.apache.http.HttpEntity
Enclosing class:
TestEntityUtils

public static class TestEntityUtils.NullHttpEntity
extends org.apache.http.entity.BasicHttpEntity

Helper class that returns null as the content.


Field Summary
 
Fields inherited from class org.apache.http.entity.BasicHttpEntity
 
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType
 
Constructor Summary
TestEntityUtils.NullHttpEntity()
           
 
Method Summary
 java.io.InputStream getContent()
          Obtains no content.
 
Methods inherited from class org.apache.http.entity.BasicHttpEntity
consumeContent, getContentLength, isRepeatable, isStreaming, setContent, setContentLength, writeTo
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestEntityUtils.NullHttpEntity

public TestEntityUtils.NullHttpEntity()
Method Detail

getContent

public java.io.InputStream getContent()
Obtains no content. This method disables the state checks in the base class.