EntityTemplate.java 源代码
package com.x8zs.plugin.apache.http.entity;
import java.io.InputStream;
import java.io.OutputStream;
@Deprecated
public class EntityTemplate extends AbstractHttpEntity {
public EntityTemplate(ContentProducer contentProducer) {
throw new RuntimeException("Stub!");
}
@Override
public void consumeContent() {
throw new RuntimeException("Stub!");
}
@Override
public InputStream getContent() {
throw new RuntimeException("Stub!");
}
@Override
public long getContentLength() {
throw new RuntimeException("Stub!");
}
@Override
public boolean isRepeatable() {
throw new RuntimeException("Stub!");
}
@Override
public boolean isStreaming() {
throw new RuntimeException("Stub!");
}
@Override
public void writeTo(OutputStream outputStream) {
throw new RuntimeException("Stub!");
}
}