public interface HttpListener extends NonBlockingMessageSource, Lifecycle
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Get rid of this listener.
|
String[] |
getAllowedMethods() |
HttpListenerConfig |
getConfig() |
String |
getPath() |
void |
start()
Starts an stopped listener.
|
void |
stop()
Stops this listener.
|
setListener
initialise
HttpListenerConfig getConfig()
void stop() throws MuleException
ServiceTemporarilyUnavailableListenerRequestHandler.SERVICE_TEMPORARILY_UNAVAILABLE_STATUS_CODE
.stop
in interface Stoppable
MuleException
- if there's was a problem stopping the listenervoid start() throws MuleException
start
in interface Startable
MuleException
void dispose()
org.mule.module.http.internal.listener.NoListenerRequestHandler#RESOURCE_NOT_FOUND_STATUS_CODE
unless
there's another listener which path matches the request criteria.dispose
in interface Disposable
String getPath()
String[] getAllowedMethods()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.