public class S3Handler extends BaseRouterHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESSKEY
HTTP GET.
|
static java.lang.String |
BUCKETNAME |
static java.lang.String |
SECRETKEY
HTTP POST.
|
static java.lang.String |
URL
The HTTP url binding property name.
|
BIDICONFIG, PASSWORD, USERNAME
Constructor and Description |
---|
S3Handler() |
S3Handler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessKey() |
java.lang.String |
getBucketName() |
java.util.List<RouterPropsInfo> |
getProperties() |
java.lang.String |
getSecretKey() |
java.lang.String |
getUrl() |
byte[] |
invoke(java.util.Map metaData,
byte[] data)
All directly extending classes should call super.invoke(metaData, data) before proceeding
with the invoke.
|
public static final java.lang.String ACCESSKEY
public static final java.lang.String SECRETKEY
public static final java.lang.String BUCKETNAME
public static final java.lang.String URL
public S3Handler(MaxEndPointInfo endPointInfo)
endPointInfo
- public S3Handler()
public byte[] invoke(java.util.Map metaData, byte[] data) throws MXException
BaseRouterHandler
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
MXException
RouterHandler.invoke(java.util.Map, byte[])
public java.util.List<RouterPropsInfo> getProperties()
public java.lang.String getUrl()
public java.lang.String getAccessKey()
public java.lang.String getSecretKey()
public java.lang.String getBucketName()