-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,no.nav.security.mock.oauth2.http.OAuth2HttpServer
public final class NettyWrapper implements OAuth2HttpServer
-
-
Constructor Summary
Constructors Constructor Description NettyWrapper(Ssl ssl)NettyWrapper()
-
Method Summary
Modifier and Type Method Description final SslgetSsl()OAuth2HttpServerstart(InetAddress inetAddress, Integer port, Function1<OAuth2HttpRequest, OAuth2HttpResponse> requestHandler)NettyWrapperstop()Integerport()HttpUrlurl(String path)-
-
Constructor Detail
-
NettyWrapper
NettyWrapper(Ssl ssl)
-
NettyWrapper
NettyWrapper()
-
-
Method Detail
-
start
OAuth2HttpServer start(InetAddress inetAddress, Integer port, Function1<OAuth2HttpRequest, OAuth2HttpResponse> requestHandler)
-
stop
NettyWrapper stop()
-
-
-
-