public class WebsocketEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
WebsocketEndpoint(WebsocketComponent component,
String uri,
String remaining,
Map<String,Object> parameters) |
Modifier and Type | Method and Description |
---|---|
void |
connect(WebsocketConsumer consumer) |
void |
connect(WebsocketProducer producer) |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
void |
disconnect(WebsocketConsumer consumer) |
void |
disconnect(WebsocketProducer producer) |
protected void |
doStart() |
protected void |
doStop() |
String |
getAllowedOrigins() |
WebsocketComponent |
getComponent() |
String |
getFilterPath() |
List<org.eclipse.jetty.server.Handler> |
getHandlers() |
String |
getHost() |
String |
getPath() |
Integer |
getPort() |
String |
getProtocol() |
Boolean |
getSendToAll() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
String |
getStaticResources() |
URI |
getUri() |
boolean |
isCrossOriginFilterOn() |
boolean |
isEnableJmx() |
boolean |
isSessionSupport() |
boolean |
isSingleton() |
void |
setAllowedOrigins(String allowedOrigins) |
void |
setCrossOriginFilterOn(boolean crossOriginFilterOn) |
void |
setEnableJmx(boolean enableJmx) |
void |
setFilterPath(String filterPath) |
void |
setHandlers(List<org.eclipse.jetty.server.Handler> handlers) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setSendToAll(Boolean sendToAll) |
void |
setSessionSupport(boolean support) |
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters) |
void |
setStaticResources(String staticResources) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public WebsocketComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public void connect(WebsocketConsumer consumer) throws Exception
Exception
public void disconnect(WebsocketConsumer consumer) throws Exception
Exception
public void connect(WebsocketProducer producer) throws Exception
Exception
public void disconnect(WebsocketProducer producer) throws Exception
Exception
public boolean isSingleton()
public URI getUri()
public Integer getPort()
public String getHost()
public void setHost(String host)
public void setPort(int port)
public String getStaticResources()
public void setStaticResources(String staticResources)
public Boolean getSendToAll()
public void setSendToAll(Boolean sendToAll)
public String getProtocol()
public String getPath()
public void setSessionSupport(boolean support)
public boolean isSessionSupport()
public List<org.eclipse.jetty.server.Handler> getHandlers()
public void setHandlers(List<org.eclipse.jetty.server.Handler> handlers)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public boolean isEnableJmx()
public void setEnableJmx(boolean enableJmx)
public String getAllowedOrigins()
public void setAllowedOrigins(String allowedOrigins)
public boolean isCrossOriginFilterOn()
public void setCrossOriginFilterOn(boolean crossOriginFilterOn)
public String getFilterPath()
public void setFilterPath(String filterPath)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
Apache Camel