org.hornetq.rest.queue.push
Class UriStrategy
java.lang.Object
org.hornetq.rest.queue.push.UriStrategy
- All Implemented Interfaces:
- PushStrategy
- Direct Known Subclasses:
- UriTemplateStrategy
public class UriStrategy
- extends java.lang.Object
- implements PushStrategy
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected org.apache.commons.httpclient.HttpClient client
executor
protected org.jboss.resteasy.client.core.executors.ApacheHttpClientExecutor executor
registration
protected PushRegistration registration
targetUri
protected javax.ws.rs.core.UriBuilder targetUri
method
protected java.lang.String method
contentType
protected java.lang.String contentType
UriStrategy
public UriStrategy()
setRegistration
public void setRegistration(PushRegistration reg)
- Specified by:
setRegistration
in interface PushStrategy
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface PushStrategy
- Throws:
java.lang.Exception
initAuthentication
protected void initAuthentication()
stop
public void stop()
- Specified by:
stop
in interface PushStrategy
push
public boolean push(org.hornetq.api.core.client.ClientMessage message)
- Specified by:
push
in interface PushStrategy
createUri
protected java.lang.String createUri(org.hornetq.api.core.client.ClientMessage message)
Copyright © 2013. All Rights Reserved.