wacai-file-client

wacai file client

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.wacai
ArtifactId

ArtifactId

wacai-file-client
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

wacai-file-client
wacai file client
Project URL

Project URL

https://github.com/wacai/wacai-file-client
Source Code Management

Source Code Management

https://github.com/wacai/wacai-file-client/tree/master

Download wacai-file-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.wacai/wacai-file-client/ -->
<dependency>
    <groupId>com.wacai</groupId>
    <artifactId>wacai-file-client</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.wacai/wacai-file-client/
implementation 'com.wacai:wacai-file-client:1.0.4'
// https://jarcasting.com/artifacts/com.wacai/wacai-file-client/
implementation ("com.wacai:wacai-file-client:1.0.4")
'com.wacai:wacai-file-client:jar:1.0.4'
<dependency org="com.wacai" name="wacai-file-client" rev="1.0.4">
  <artifact name="wacai-file-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wacai', module='wacai-file-client', version='1.0.4')
)
libraryDependencies += "com.wacai" % "wacai-file-client" % "1.0.4"
[com.wacai/wacai-file-client "1.0.4"]

Dependencies

compile (7)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.5.4
org.apache.httpcomponents : httpmime jar 4.5.4
org.springframework : spring-web jar 4.3.11.RELEASE
com.fasterxml.jackson.core : jackson-annotations jar 2.9.2
com.fasterxml.jackson.core : jackson-databind jar 2.9.2
org.projectlombok : lombok Optional jar 1.16.12
commons-codec : commons-codec jar 1.10

provided (1)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

wacai-file-client

文件网关client

文件上传下载的使用,参见 SignManagerTest.java;

建议在使用上传下载接口之前使用setTimeout设置好超时时间,或者在构造实例时指定超时时间。
建议您在服务中使用单实例。

注意:

  1. 如果是多实例使用SignFileManager,使用完之后,请使用destroy方法销毁。建议您在服务中使用单实例。
  2. 使用setTimeout设置超时方法时,会重新初始化内部的client字段,此方法线程不安全。

两个已知issue:

  1. 目前由于后台接口原因 还不支持批量上传时 指定文件名。
  2. 目前由于后台接口原因 批量上传时 目前返回的文件名顺序 跟您请求的时候 送的顺序 不保证一致。
com.wacai

wacai

挖财研发团队

Versions

Version
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0