@Test public void testStreamEntityStreamNullStream() { try { cut.setStreamEntity(null); fail(); } catch (IllegalArgumentException ex) { } }
public void setStreamEntity(final InputStream streamEntity) { this.setStreamEntity(streamEntity, getDefaultMediaType()); }
StreamDataBodyPart extends FormDataBodyPart { public void setStreamEntity(final InputStream streamEntity) { this.setStreamEntity(streamEntity, getDefaultMediaType()); } }
StreamDataBodyPart extends FormDataBodyPart { public void setStreamEntity(final InputStream streamEntity) { this.setStreamEntity(streamEntity, getDefaultMediaType()); } StreamDataBodyPart();  StreamDataBodyPart(final String name, final InputStream streamEntity);  StreamDataBodyPart(final String name, final InputStream streamEntity, final String filename);  StreamDataBodyPart(final String name, final InputStream streamEntity,
                              final String filename,
                              final MediaType mediaType); }
StreamDataBodyPart extends FormDataBodyPart { public void setStreamEntity(final InputStream streamEntity) { this.setStreamEntity(streamEntity, getDefaultMediaType()); } StreamDataBodyPart();  StreamDataBodyPart(final String name, final InputStream streamEntity);  StreamDataBodyPart(final String name, final InputStream streamEntity, final String filename);  StreamDataBodyPart(final String name, final InputStream streamEntity,
                              final String filename,
                              final MediaType mediaType); @Override void setValue(final MediaType mediaType, final Object value); @Override void setValue(final String value); @Override void setEntity(final Object entity); void setStreamEntity(final InputStream streamEntity); void setStreamEntity(final InputStream streamEntity, MediaType mediaType); void setFilename(final String filename); InputStream getStreamEntity(); String getFilename(); }
StreamDataBodyPart extends FormDataBodyPart { public void setStreamEntity(final InputStream streamEntity) { this.setStreamEntity(streamEntity, getDefaultMediaType()); } StreamDataBodyPart();  StreamDataBodyPart(final String name, final InputStream streamEntity);  StreamDataBodyPart(final String name, final InputStream streamEntity, final String filename);  StreamDataBodyPart(final String name, final InputStream streamEntity,
                              final String filename,
                              final MediaType mediaType); @Override void setValue(final MediaType mediaType, final Object value); @Override void setValue(final String value); @Override void setEntity(final Object entity); void setStreamEntity(final InputStream streamEntity); void setStreamEntity(final InputStream streamEntity, MediaType mediaType); void setFilename(final String filename); InputStream getStreamEntity(); String getFilename();  }