public class HttpStream extends Object
| Constructor and Description |
|---|
HttpStream(InputStream content,
String type) |
HttpStream(String filename,
File file) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
long |
getContentLength() |
String |
getContentType() |
public HttpStream(InputStream content, String type)
public InputStream getContent() throws IOException
IOExceptionpublic long getContentLength()
throws IOException
IOExceptionpublic String getContentType()
Copyright © 2025. All rights reserved.