Package org.apache.activemq.blob
Class DefaultStrategy
- java.lang.Object
-
- org.apache.activemq.blob.DefaultStrategy
-
- Direct Known Subclasses:
DefaultBlobDownloadStrategy
,DefaultBlobUploadStrategy
public class DefaultStrategy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BlobTransferPolicy
transferPolicy
-
Constructor Summary
Constructors Constructor Description DefaultStrategy(BlobTransferPolicy transferPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URL
createMessageURL(ActiveMQBlobMessage message)
protected boolean
isSuccessfulCode(int responseCode)
-
-
-
Field Detail
-
transferPolicy
protected BlobTransferPolicy transferPolicy
-
-
Constructor Detail
-
DefaultStrategy
public DefaultStrategy(BlobTransferPolicy transferPolicy)
-
-
Method Detail
-
isSuccessfulCode
protected boolean isSuccessfulCode(int responseCode)
-
createMessageURL
protected URL createMessageURL(ActiveMQBlobMessage message) throws JMSException, MalformedURLException
- Throws:
JMSException
MalformedURLException
-
-