Method and Description |
---|
io.muserver.ContextHandlerBuilder.context(String, MuHandler...)
Use
ContextHandlerBuilder.context(String) and then add handlers on to that. |
io.muserver.ContextHandlerBuilder.context(String, MuHandlerBuilder...)
Use
ContextHandlerBuilder.context(String) and then add handlers on to that. |
io.muserver.rest.RestHandlerBuilder.create(Object...)
Use restHandler(resources).build() instead.
|
io.muserver.rest.RestHandlerBuilder.withDocumentation()
This does nothing. To expose API endpoints, use
RestHandlerBuilder.withOpenApiJsonUrl(String) and/or RestHandlerBuilder.withOpenApiHtmlUrl(String) |
io.muserver.MuServerBuilder.withHttpConnection(int)
Use
MuServerBuilder.withHttpPort(int) instead |
io.muserver.MuServerBuilder.withHttpDisabled()
It is off by default so this is not needed.
|
io.muserver.MuServerBuilder.withHttpsConnection(int, SSLContext) |
Copyright © 2017–2018. All rights reserved.