public class HttpResource extends Object implements Resource, Serializable
| Constructor and Description |
|---|
HttpResource(Resource resource,
String contentType)
构造
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
获取自定义Content-Type类型
|
String |
getName() |
InputStream |
getStream() |
URL |
getUrl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReader, isModified, readBytes, readStr, readUtf8Str, writeTopublic InputStream getStream()
public String getContentType()
Copyright © 2024. All rights reserved.