org.apache.activemq.blob
Class DefaultStrategy

java.lang.Object
  extended by org.apache.activemq.blob.DefaultStrategy
Direct Known Subclasses:
DefaultBlobDownloadStrategy, DefaultBlobUploadStrategy

public class DefaultStrategy
extends Object


Field Summary
protected  BlobTransferPolicy transferPolicy
           
 
Constructor Summary
DefaultStrategy(BlobTransferPolicy transferPolicy)
           
 
Method Summary
protected  URL createMessageURL(ActiveMQBlobMessage message)
           
protected  boolean isSuccessfulCode(int responseCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.