public interface HttpListener extends NonBlockingMessageSource, org.mule.runtime.api.lifecycle.Lifecycle
| 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.
|
setListenerHttpListenerConfig getConfig()
void stop() throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.module.http.internal.listener.ServiceTemporarilyUnavailableListenerRequestHandler#SERVICE_TEMPORARILY_UNAVAILABLE_STATUS_CODE.stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleException - if there's was a problem stopping the listenervoid start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionvoid dispose()
org.mule.runtime.module.http.internal.listener.NoListenerRequestHandler#RESOURCE_NOT_FOUND_STATUS_CODE unless there's
another listener which path matches the request criteria.dispose in interface org.mule.runtime.api.lifecycle.DisposableString getPath()
String[] getAllowedMethods()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.