跳过导航链接
C D E F G P R S V 

C

com.skypyb.poet.spring.boot.core - 程序包 com.skypyb.poet.spring.boot.core
 
com.skypyb.poet.spring.boot.core.client - 程序包 com.skypyb.poet.spring.boot.core.client
 
com.skypyb.poet.spring.boot.core.interceptor - 程序包 com.skypyb.poet.spring.boot.core.interceptor
 
com.skypyb.poet.spring.boot.core.model - 程序包 com.skypyb.poet.spring.boot.core.model
 
com.skypyb.poet.spring.boot.core.store - 程序包 com.skypyb.poet.spring.boot.core.store
 

D

DEFAULT_NAME_GENERATOR - 接口 中的静态变量com.skypyb.poet.spring.boot.core.store.PoetAnnexNameGenerator
 
DEFAULT_SLICER - 接口 中的静态变量com.skypyb.poet.spring.boot.core.client.PoetAnnexSlicer
 
delete(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
delete(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
deleteByName(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.store.PoetAnnexRepository
 
DELIMITER - 接口 中的静态变量com.skypyb.poet.spring.boot.core.client.PoetAnnexSlicer
 
doInterception(PoetHandlerInterceptor.Mode, String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.interceptor.PoetHandlerInterceptorChain
 
down(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClientHttpSupport
 
down(String, String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClientHttpSupport
 
down(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
down(String, String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 

E

exist(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
exist(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 

F

findByName(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.store.PoetAnnexRepository
 
findByNames(Collection<String>) - 接口 中的方法com.skypyb.poet.spring.boot.core.store.PoetAnnexRepository
 
formatKey(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
组合文件存储路径+文件路径 一般来说只有本地文件系统才能用到

G

generate() - 接口 中的方法com.skypyb.poet.spring.boot.core.store.PoetAnnexNameGenerator
名字生成的时点为附件储存之间
getBytes(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
getBytes(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
getDelimiter() - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 
getKey() - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
getLength() - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
getName() - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
getRealName() - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
getSuffix() - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 

P

PoetAccessRouter - com.skypyb.poet.spring.boot.core.client中的接口
附件的访问路由器, 职能为根据附件的名字&模块 精准定位到具体的附件信息
PoetAnnex - com.skypyb.poet.spring.boot.core.model中的接口
 
PoetAnnexClient - com.skypyb.poet.spring.boot.core.client中的接口
具体对附件进行操作的接口 所有的操作若不指定模块会路由到默认的文件储存目录下 保存附件完毕后,所有流都会关掉 这里的 module 参数, 指的是指定的路径, 如 /temp/img。
PoetAnnexClientHttpSupport - com.skypyb.poet.spring.boot.core.client中的接口
对于附件操作的支持 包括下载、预览(指图片)、媒体播放支持
PoetAnnexContext - com.skypyb.poet.spring.boot.core中的接口
附件操作的上下文 和 PoetAnnexClientPoetAnnexClientHttpSupport 的方法入参语义不相同 Client的语义为传入 key --> PoetAnnex.getKey() Context的语义为: 传入附件的名字 name --> PoetAnnex.getName() ()} (名字应是全局唯一的) 实际操作流程会根据 PoetAnnexRepository 来获取附件具体的路径
PoetAnnexNameGenerator - com.skypyb.poet.spring.boot.core.store中的接口
 
PoetAnnexRepository - com.skypyb.poet.spring.boot.core.store中的接口
附件持久化操作 SQL、NoSQL 等...
PoetAnnexSlicer - com.skypyb.poet.spring.boot.core.client中的接口
通过附件的元信息得到该附件的路径信息 制定不同的策略来切成不同的路径,例: model: (name='aaabbbxyz1.png', module='default/module1') 1: ['default','module1','aaabbbxyz1.png'] -> default/module1/aaabbbxyz1.png 2: ['default','module1','aaa','bbb','aaabbbxyz1.png'] -> default/module1/aaa/bbb/aaabbbxyz1.png 3: ['default','module1','2020','0809','aaabbbxyz1.png'] -> default/module1/2020/0809/aaabbbxyz1.png .....
PoetHandlerInterceptor - com.skypyb.poet.spring.boot.core.interceptor中的接口
拦截器, 在PoetAnnexContext 的所有方法执行之前调用。
PoetHandlerInterceptor.Mode - com.skypyb.poet.spring.boot.core.interceptor中的枚举
 
PoetHandlerInterceptorChain - com.skypyb.poet.spring.boot.core.interceptor中的接口
拦截链
PoetInterceptorChainAware - com.skypyb.poet.spring.boot.core.interceptor中的接口
 
preHandle(PoetHandlerInterceptor.Mode, String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.interceptor.PoetHandlerInterceptor
在调用时会传入当前上下文试图做的操作, 和其操作对应的目标附件名字、模块

R

routing(String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 

S

save(InputStream, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
save(InputStream, String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
save(byte[], String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
save(byte[], String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClient
 
save(InputStream, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
save(InputStream, String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
save(byte[], String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
save(byte[], String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
save(PoetAnnex) - 接口 中的方法com.skypyb.poet.spring.boot.core.store.PoetAnnexRepository
 
setDefaultModule(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 
setDelimiter(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 
setInterceptorChain(PoetHandlerInterceptorChain) - 接口 中的方法com.skypyb.poet.spring.boot.core.interceptor.PoetInterceptorChainAware
 
setKey(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
setLength(Long) - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
setName(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
setRealName(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
setSlicer(PoetAnnexSlicer) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 
setStorageLocation(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAccessRouter
 
setSuffix(String) - 接口 中的方法com.skypyb.poet.spring.boot.core.model.PoetAnnex
 
slicePath(String, String) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexSlicer
 
slicer(String) - 接口 中的静态方法com.skypyb.poet.spring.boot.core.client.PoetAnnexSlicer
 

V

valueOf(String) - 枚举 中的静态方法com.skypyb.poet.spring.boot.core.interceptor.PoetHandlerInterceptor.Mode
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.skypyb.poet.spring.boot.core.interceptor.PoetHandlerInterceptor.Mode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
view(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClientHttpSupport
查看文件, 比如预览图片等
view(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
viewMedia(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClientHttpSupport
一股脑返回媒体信息
viewMedia(String, HttpServletRequest, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.client.PoetAnnexClientHttpSupport
根据请求分段返回媒体信息, 可用于视频、音频播放等
viewMedia(String, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
viewMedia(String, HttpServletRequest, HttpServletResponse) - 接口 中的方法com.skypyb.poet.spring.boot.core.PoetAnnexContext
 
C D E F G P R S V 
跳过导航链接

Copyright © 2020. All rights reserved.