org.apache.camel.component.restlet
Class RestletEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.restlet.RestletEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint

public class RestletEndpoint
extends DefaultEndpoint

Represents a endpoint

Version:
$Revision: 778401 $

Constructor Summary
RestletEndpoint(RestletComponent component, String remaining, RestletBinding restletBinding)
           
 
Method Summary
 void connect(RestletConsumer restletConsumer)
           
 Consumer createConsumer(Processor processor)
           
 Producer createProducer()
           
 void disconnect(RestletConsumer restletConsumer)
           
 ExchangePattern getExchangePattern()
           
 String getHost()
           
 int getPort()
           
 String getProtocol()
           
 Map<String,String> getRealm()
           
 RestletBinding getRestletBinding()
           
 org.restlet.data.Method getRestletMethod()
           
 String getUriPattern()
           
 boolean isLenientProperties()
           
 boolean isSingleton()
           
 void setHost(String host)
           
 void setPort(int port)
           
 void setProtocol(String protocol)
           
 void setRealm(Map<String,String> realm)
           
 void setRestletBinding(RestletBinding restletBinding)
           
 void setRestletMethod(org.restlet.data.Method restletMethod)
           
 void setUriPattern(String uriPattern)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestletEndpoint

public RestletEndpoint(RestletComponent component,
                       String remaining,
                       RestletBinding restletBinding)
                throws Exception
Throws:
Exception
Method Detail

isSingleton

public boolean isSingleton()

isLenientProperties

public boolean isLenientProperties()
Specified by:
isLenientProperties in interface Endpoint
Overrides:
isLenientProperties in class DefaultEndpoint

createConsumer

public Consumer createConsumer(Processor processor)
                        throws Exception
Throws:
Exception

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

connect

public void connect(RestletConsumer restletConsumer)
             throws Exception
Throws:
Exception

disconnect

public void disconnect(RestletConsumer restletConsumer)
                throws Exception
Throws:
Exception

getRestletMethod

public org.restlet.data.Method getRestletMethod()

setRestletMethod

public void setRestletMethod(org.restlet.data.Method restletMethod)

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

getUriPattern

public String getUriPattern()

setUriPattern

public void setUriPattern(String uriPattern)

getRestletBinding

public RestletBinding getRestletBinding()

setRestletBinding

public void setRestletBinding(RestletBinding restletBinding)

getRealm

public Map<String,String> getRealm()

setRealm

public void setRealm(Map<String,String> realm)

getExchangePattern

public ExchangePattern getExchangePattern()
Overrides:
getExchangePattern in class DefaultEndpoint


Apache CAMEL