|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.blob.DefaultStrategy
org.apache.activemq.blob.DefaultBlobDownloadStrategy
public class DefaultBlobDownloadStrategy
A default implementation of BlobDownloadStrategy
which uses the URL
class to download files or streams from a remote URL
Field Summary |
---|
Fields inherited from class org.apache.activemq.blob.DefaultStrategy |
---|
transferPolicy |
Constructor Summary | |
---|---|
DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
|
Method Summary | |
---|---|
void |
deleteFile(ActiveMQBlobMessage message)
|
java.io.InputStream |
getInputStream(ActiveMQBlobMessage message)
|
Methods inherited from class org.apache.activemq.blob.DefaultStrategy |
---|
createMessageURL, isSuccessfulCode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBlobDownloadStrategy(BlobTransferPolicy transferPolicy)
Method Detail |
---|
public java.io.InputStream getInputStream(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
getInputStream
in interface BlobDownloadStrategy
java.io.IOException
javax.jms.JMSException
public void deleteFile(ActiveMQBlobMessage message) throws java.io.IOException, javax.jms.JMSException
deleteFile
in interface BlobDownloadStrategy
java.io.IOException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |