@ConfigurationProperties(prefix="hsweb.oauth2.file-server") public class OAuth2FileService extends Object implements FileService, OAuth2ServiceSupport
| 构造器和说明 |
|---|
OAuth2FileService() |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<SimpleFileInfoEntity> |
getEntityType() |
Class<String> |
getPrimaryKeyType() |
org.hswebframework.web.authorization.oauth2.client.OAuth2RequestService |
getRequestService() |
String |
getServiceId() |
String |
getUriPrefix() |
InputStream |
readFile(String fileIdOrMd5) |
FileInfoEntity |
saveFile(InputStream fileStream,
String fileName,
String type,
String creatorId) |
String |
saveStaticFile(InputStream fileStream,
String fileName) |
void |
writeFile(String fileId,
OutputStream out,
long skip) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRequest, createRequest, createSessionpublic InputStream readFile(String fileIdOrMd5)
readFile 在接口中 FileServicepublic FileInfoEntity saveFile(InputStream fileStream, String fileName, String type, String creatorId) throws IOException
saveFile 在接口中 FileServiceIOExceptionpublic String saveStaticFile(InputStream fileStream, String fileName) throws IOException
saveStaticFile 在接口中 FileServiceIOExceptionpublic void writeFile(String fileId, OutputStream out, long skip) throws IOException
writeFile 在接口中 FileServiceIOExceptionpublic org.hswebframework.web.authorization.oauth2.client.OAuth2RequestService getRequestService()
getRequestService 在接口中 OAuth2ServiceSupportpublic String getServiceId()
getServiceId 在接口中 OAuth2ServiceSupportpublic String getUriPrefix()
getUriPrefix 在接口中 OAuth2ServiceSupportpublic Class<SimpleFileInfoEntity> getEntityType()
getEntityType 在接口中 OAuth2ServiceSupportpublic Class<String> getPrimaryKeyType()
getPrimaryKeyType 在接口中 OAuth2ServiceSupportCopyright © 2018. All rights reserved.