public interface Server
Modifier and Type | Method and Description |
---|---|
RequestHandlerManager |
addRequestHandler(ListenerRequestMatcher listenerRequestMatcher,
RequestHandler requestHandler) |
ServerAddress |
getServerAddress() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
start()
Binds the ServerSocket to the network interface and starts listening for requests
|
void |
stop()
Unbinds the ServerSocket to the network interface and stops listening for requests.
|
void start() throws IOException
IOException
- if there was a problem binding to the host and port specifiedvoid stop()
ServerAddress getServerAddress()
boolean isStopping()
boolean isStopped()
RequestHandlerManager addRequestHandler(ListenerRequestMatcher listenerRequestMatcher, RequestHandler requestHandler)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.