RequestEntityProxy.java (httpcomponents-client-4.5.6-src) | : | RequestEntityProxy.java (httpcomponents-client-4.5.7-src) | ||
---|---|---|---|---|
skipping to change at line 119 | skipping to change at line 119 | |||
public Header getContentEncoding() { | public Header getContentEncoding() { | |||
return original.getContentEncoding(); | return original.getContentEncoding(); | |||
} | } | |||
@Override | @Override | |||
public InputStream getContent() throws IOException, IllegalStateException { | public InputStream getContent() throws IOException, IllegalStateException { | |||
return original.getContent(); | return original.getContent(); | |||
} | } | |||
@Override | @Override | |||
public void writeTo(final OutputStream outstream) throws IOException { | public void writeTo(final OutputStream outStream) throws IOException { | |||
consumed = true; | consumed = true; | |||
original.writeTo(outstream); | original.writeTo(outStream); | |||
} | } | |||
@Override | @Override | |||
public boolean isStreaming() { | public boolean isStreaming() { | |||
return original.isStreaming(); | return original.isStreaming(); | |||
} | } | |||
@Override | @Override | |||
@Deprecated | ||||
public void consumeContent() throws IOException { | public void consumeContent() throws IOException { | |||
consumed = true; | consumed = true; | |||
original.consumeContent(); | original.consumeContent(); | |||
} | } | |||
@Override | @Override | |||
public String toString() { | public String toString() { | |||
final StringBuilder sb = new StringBuilder("RequestEntityProxy{"); | final StringBuilder sb = new StringBuilder("RequestEntityProxy{"); | |||
sb.append(original); | sb.append(original); | |||
sb.append('}'); | sb.append('}'); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added |