Package io.helidon.microprofile.tyrus
Class TyrusRouting.Builder
java.lang.Object
io.helidon.microprofile.tyrus.TyrusRouting.Builder
- All Implemented Interfaces:
Builder<TyrusRouting.Builder,,Routing> Supplier<Routing>
- Enclosing class:
TyrusRouting
public static class TyrusRouting.Builder
extends Object
implements Builder<TyrusRouting.Builder,Routing>
Fluent API builder for
TyrusRouting.-
Method Summary
-
Method Details
-
endpoint
Add endpoint.- Parameters:
path- path of the endpointendpointClass- annotated endpoint class- Returns:
- updated builder
-
endpoint
Add endpoint.- Parameters:
endpointClass- annotated endpoint class- Returns:
- updated builder
-
endpoint
public TyrusRouting.Builder endpoint(String path, jakarta.websocket.server.ServerEndpointConfig serverEndpointConfig) Add endpoint.- Parameters:
path- path of the endpointserverEndpointConfig- Jakarta WebSocket endpoint configuration- Returns:
- updated builder
-
endpoint
public TyrusRouting.Builder endpoint(jakarta.websocket.server.ServerEndpointConfig serverEndpointConfig) Add endpoint.- Parameters:
serverEndpointConfig- Jakarta WebSocket endpoint configuration- Returns:
- updated builder
-
extension
Add Jakarta WebSocket extension.- Parameters:
extension- Jakarta WebSocket extension- Returns:
- updated builder
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<TyrusRouting.Builder,Routing> - Returns:
- instance of the built type
-