public static class DefaultServlet.WebResource extends Object
| 构造器和说明 |
|---|
WebResource(File file) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getContentLength() |
String |
getETag()
Return the strong ETag if available (currently not supported) else return
the weak ETag calculated from the content length and last modified.
|
long |
getLastModified() |
String |
getLastModifiedHttp() |
String |
toString() |
public WebResource(File file)
public long getLastModified()
public String getLastModifiedHttp()
public long getContentLength()
public String getETag()
Copyright © 2023. All rights reserved.