@UriEndpoint(firstVersion="3.0.0",
scheme="platform-http",
title="Platform HTTP",
syntax="platform-http:path",
category=HTTP,
consumerOnly=true)
public class PlatformHttpEndpoint
extends org.apache.camel.support.DefaultEndpoint
implements org.apache.camel.AsyncEndpoint, org.apache.camel.spi.HeaderFilterStrategyAware
| Constructor and Description |
|---|
PlatformHttpEndpoint(String uri,
String remaining,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getConsumes() |
String |
getFileNameExtWhitelist() |
org.apache.camel.spi.HeaderFilterStrategy |
getHeaderFilterStrategy() |
String |
getHttpMethodRestrict() |
String |
getPath() |
PlatformHttpEngine |
getPlatformHttpEngine() |
String |
getProduces() |
boolean |
isMatchOnUriPrefix() |
void |
setConsumes(String consumes) |
void |
setFileNameExtWhitelist(String fileNameExtWhitelist) |
void |
setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy) |
void |
setHttpMethodRestrict(String httpMethodRestrict) |
void |
setMatchOnUriPrefix(boolean matchOnUriPrefix) |
void |
setPlatformHttpEngine(PlatformHttpEngine platformHttpEngine) |
void |
setProduces(String produces) |
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toStringbuild, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigureExchange, configureProperties, createAsyncProducer, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, isLenientProperties, isSingletonProducer, setCamelContextpublic org.apache.camel.Producer createProducer()
throws Exception
createProducer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointExceptionpublic org.apache.camel.spi.HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic void setHeaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
setHeaderFilterStrategy in interface org.apache.camel.spi.HeaderFilterStrategyAwarepublic String getPath()
public PlatformHttpEngine getPlatformHttpEngine()
public void setPlatformHttpEngine(PlatformHttpEngine platformHttpEngine)
public boolean isMatchOnUriPrefix()
public void setMatchOnUriPrefix(boolean matchOnUriPrefix)
public String getHttpMethodRestrict()
public void setHttpMethodRestrict(String httpMethodRestrict)
public String getFileNameExtWhitelist()
public void setFileNameExtWhitelist(String fileNameExtWhitelist)
public String getConsumes()
public void setConsumes(String consumes)
public String getProduces()
public void setProduces(String produces)
Apache Camel