Interface WebSocketNegotiator
- All Superinterfaces:
Configuration.Customizer
- All Known Implementing Classes:
CreatorNegotiator
,WebSocketNegotiator.AbstractNegotiator
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
customize
(Configuration configurable) static WebSocketNegotiator
from
(Function<WebSocketNegotiation, FrameHandler> negotiate) static WebSocketNegotiator
from
(Function<WebSocketNegotiation, FrameHandler> negotiate, Configuration.Customizer customizer) static WebSocketNegotiator
from
(WebSocketCreator creator, FrameHandlerFactory factory) static WebSocketNegotiator
from
(WebSocketCreator creator, FrameHandlerFactory factory, Configuration.Customizer customizer) negotiate
(WebSocketNegotiation negotiation)
-
Method Details
-
negotiate
- Throws:
IOException
-
customize
- Specified by:
customize
in interfaceConfiguration.Customizer
-
from
-
from
static WebSocketNegotiator from(Function<WebSocketNegotiation, FrameHandler> negotiate, Configuration.Customizer customizer) -
from
-
from
static WebSocketNegotiator from(WebSocketCreator creator, FrameHandlerFactory factory, Configuration.Customizer customizer)
-