public class DefaultHttpListenerConfig extends AbstractAnnotatedObject implements HttpListenerConfig, Initialisable, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CONNECTION_IDLE_TIMEOUT |
static int |
DEFAULT_MAX_THREADS |
PROPERTY_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DefaultHttpListenerConfig() |
getAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, setAnnotationspublic static final int DEFAULT_MAX_THREADS
public static final int DEFAULT_CONNECTION_IDLE_TIMEOUT
public void setWorkerThreadingProfile(ThreadingProfile workerThreadingProfile)
public void setName(String name)
public void setProtocol(HttpConstants.Protocols protocol)
public void setHost(String host)
public void setPort(int port)
public void setBasePath(String basePath)
public void setTlsContext(TlsContextFactory tlsContext)
public void setServerSocketProperties(TcpServerSocketProperties serverSocketProperties)
public void setParseRequest(Boolean parseRequest)
public ListenerPath getFullListenerPath(String listenerPath)
public void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionpublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwarepublic RequestHandlerManager addRequestHandler(ListenerRequestMatcher requestMatcher, RequestHandler requestHandler) throws IOException
IOExceptionpublic int getPort()
getPort in interface HttpListenerConfigpublic String getHost()
getHost in interface HttpListenerConfigpublic TlsContextFactory getTlsContext()
getTlsContext in interface HttpListenerConfigpublic void start()
throws MuleException
HttpListenerConfigstart in interface Startablestart in interface HttpListenerConfigMuleExceptionpublic boolean hasTlsConfig()
hasTlsConfig in interface HttpListenerConfigpublic void stop()
throws MuleException
HttpListenerConfigstop in interface Stoppablestop in interface HttpListenerConfigMuleExceptionpublic String getName()
getName in interface NamedObjectpublic void setUsePersistentConnections(boolean usePersistentConnections)
public void setConnectionIdleTimeout(int connectionIdleTimeout)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.