Default
Default component constructors.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Default.type
Members list
Type members
Inherited types
Endpoint adapter type.
Request context type.
Default message codec plugin type.
Default message node type.
Request context type.
Value members
Concrete methods
Creates a standard JRE HTTP & WebSocket client transport plugin with 'Future' as an effect type.
Creates a standard JRE HTTP & WebSocket client transport plugin with 'Future' as an effect type.
Value parameters
- executionContext
-
execution context
- method
-
HTTP request method
- url
-
HTTP endpoint URL
Attributes
- Returns
-
client transport plugin
- See also
Creates an asynchronous effect system plugin with 'Future' as an effect type.
Creates an asynchronous effect system plugin with 'Future' as an effect type.
Attributes
- Returns
-
asynchronous effect system plugin
- See also
Creates an Undertow RPC over HTTP & WebSocket endpoint transport plugin with 'Future' as an effect type.
Creates an Undertow RPC over HTTP & WebSocket endpoint transport plugin with 'Future' as an effect type.
Value parameters
- executionContext
-
execution context
- mapException
-
maps an exception to a corresponding HTTP status code
Attributes
- Returns
-
endpoint transport plugin
- See also
Creates a standard JRE JSON-RPC over HTTP & WebSocket client using default RPC protocol with 'Future' as an effect type.
Creates a standard JRE JSON-RPC over HTTP & WebSocket client using default RPC protocol with 'Future' as an effect type.
The client can be used to perform type-safe remote API calls or send one-way messages.
Value parameters
- executionContext
-
execution context
- method
-
HTTP request method
- url
-
HTTP endpoint URL
Attributes
- Returns
-
asynchronous RPC client
- See also
Creates an Undertow RPC over HTTP endpoint using default RPC protocol with 'Future' as an effect type.
Creates an Undertow RPC over HTTP endpoint using default RPC protocol with 'Future' as an effect type.
The endpoint can be integrated into an existing server to receive remote API requests using specific transport protocol and invoke bound API methods to process them.
Value parameters
- executionContext
-
execution context
- mapException
-
maps an exception to a corresponding HTTP status code
Attributes
- Returns
-
RPC endpoint
- See also
Creates an Undertow JSON-RPC server over HTTP & WebSocket using default RPC protocol with 'Future' as an effect type.
Creates an Undertow JSON-RPC server over HTTP & WebSocket using default RPC protocol with 'Future' as an effect type.
The server can be used to serve remote API requests and invoke bound API methods to process them.
Value parameters
- executionContext
-
execution context
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods (default: any)
- path
-
HTTP URL path (default: /)
- port
-
port to listen on for HTTP connections
- webSocket
-
both HTTP and WebSocket protocols enabled if true, HTTP only if false
Attributes
- Returns
-
asynchronous RPC server
- See also
Creates an Undertow RPC over HTTP & WebSocket server transport plugin with 'Future' as an effect type.
Creates an Undertow RPC over HTTP & WebSocket server transport plugin with 'Future' as an effect type.
Value parameters
- builder
-
Undertow web server builder
- executionContext
-
execution context
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods (default: any)
- path
-
HTTP URL path (default: /)
- port
-
port to listen on for HTTP connections
- webSocket
-
both HTTP and WebSocket protocols enabled if true, HTTP only if false
Attributes
- Returns
-
server transport plugin
- See also
Inherited methods
Creates a standard JRE HTTP & WebSocket client transport protocol plugin with specified effect system plugin.
Creates a standard JRE HTTP & WebSocket client transport protocol plugin with specified effect system plugin.
Type parameters
- EffectType
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- method
-
HTTP request method
- url
-
HTTP endpoint URL
Attributes
- Returns
-
client transport protocol plugin
- See also
- Inherited from:
- DefaultTransport (hidden)
Creates an Undertow RPC over HTTP & WebSocket endpoint transport plugin with specified effect system.
Creates an Undertow RPC over HTTP & WebSocket endpoint transport plugin with specified effect system.
Value parameters
- effectSystem
-
effect system plugin
- mapException
-
maps an exception to a corresponding HTTP status code
Attributes
- Returns
-
endpoint transport plugin
- See also
- Inherited from:
- DefaultTransport (hidden)
Creates a Circe JSON message codec plugin.
Creates a Circe JSON message codec plugin.
Attributes
- Returns
-
message codec plugin
- See also
- Inherited from:
- DefaultRpcProtocol (hidden)
Creates a standard JRE JSON-RPC over HTTP & WebSocket client using default RPC protocol with specified effect system plugin.
Creates a standard JRE JSON-RPC over HTTP & WebSocket client using default RPC protocol with specified effect system plugin.
The client can be used to perform type-safe remote API calls or send one-way messages.
Type parameters
- EffectType
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- method
-
HTTP request method
- url
-
HTTP endpoint URL
Attributes
- Returns
-
RPC client
- See also
- Inherited from:
- DefaultTransport (hidden)
Creates an Undertow RPC over HTTP endpoint using default RPC protocol with specified effect system.
Creates an Undertow RPC over HTTP endpoint using default RPC protocol with specified effect system.
The endpoint can be integrated into an existing server to receive remote API requests using specific transport protocol and invoke bound API methods to process them.
Type parameters
- EffectType
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- mapException
-
maps an exception to a corresponding HTTP status code
Attributes
- Returns
-
RPC endpoint
- See also
- Inherited from:
- DefaultTransport (hidden)
Creates a default JSON-RPC protocol plugin with specified message codec plugin.
Creates a default JSON-RPC protocol plugin with specified message codec plugin.
Type parameters
- CodecType
-
message codec plugin type
- Context
-
RPC message context type
- NodeType
-
message node type
Value parameters
- messageCodec
-
message codec plugin
Attributes
- Returns
-
RPC protocol plugin
- See also
- Inherited from:
- DefaultRpcProtocol (hidden)
Creates a default JSON-RPC protocol plugin.
Creates a default JSON-RPC protocol plugin.
Type parameters
- Context
-
RPC message context type
Attributes
- Returns
-
RPC protocol plugin
- See also
- Inherited from:
- DefaultRpcProtocol (hidden)
Creates an Undertow RPC over HTTP & WebSocket server using default RPC protocol with specified effect system.
Creates an Undertow RPC over HTTP & WebSocket server using default RPC protocol with specified effect system.
The server can be used to serve remote API requests and invoke bound API methods to process them.
Type parameters
- EffectType
-
effect type
Value parameters
- builder
-
Undertow web server builder
- effectSystem
-
effect system plugin
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods (default: any)
- path
-
HTTP URL path (default: /)
- port
-
port to listen on for HTTP connections
- webSocket
-
both HTTP and WebSocket protocols enabled if true, HTTP only if false
Attributes
- Returns
-
RPC server
- See also
- Inherited from:
- DefaultTransport (hidden)
Creates an Undertow RPC over HTTP & WebSocket server transport protocol plugin with specified effect system.
Creates an Undertow RPC over HTTP & WebSocket server transport protocol plugin with specified effect system.
Type parameters
- EffectType
-
effect type
Value parameters
- builder
-
Undertow web server builder
- effectSystem
-
effect system plugin
- mapException
-
maps an exception to a corresponding HTTP status code
- methods
-
allowed HTTP request methods (default: any)
- path
-
HTTP URL path (default: /)
- port
-
port to listen on for HTTP connections
- webSocket
-
both HTTP and WebSocket protocols enabled if true, HTTP only if false
Attributes
- Returns
-
server transport protocol plugin
- See also
- Inherited from:
- DefaultTransport (hidden)