@Test public void testWriteTo() throws IOException { final ByteArrayOutputStream baos = new ByteArrayOutputStream(); NullEntity.INSTANCE.writeTo(baos); assertEquals(0, baos.size()); }
@Override public void writeTo(final OutputStream outStream) throws IOException {}
NullEntity implements HttpEntity { @Override public void writeTo(final OutputStream outStream) throws IOException {} }
NullEntity implements HttpEntity { @Override public void writeTo(final OutputStream outStream) throws IOException {} private  NullEntity(); }
NullEntity implements HttpEntity { @Override public void writeTo(final OutputStream outStream) throws IOException {} private  NullEntity(); @Override boolean isRepeatable(); @Override InputStream getContent(); @Override void writeTo(final OutputStream outStream); @Override boolean isStreaming(); @Override Supplier<List<? extends Header>> getTrailers(); @Override void close(); @Override long getContentLength(); @Override String getContentType(); @Override String getContentEncoding(); @Override boolean isChunked(); @Override Set<String> getTrailerNames(); }
NullEntity implements HttpEntity { @Override public void writeTo(final OutputStream outStream) throws IOException {} private  NullEntity(); @Override boolean isRepeatable(); @Override InputStream getContent(); @Override void writeTo(final OutputStream outStream); @Override boolean isStreaming(); @Override Supplier<List<? extends Header>> getTrailers(); @Override void close(); @Override long getContentLength(); @Override String getContentType(); @Override String getContentEncoding(); @Override boolean isChunked(); @Override Set<String> getTrailerNames(); static final NullEntity INSTANCE; }