public interface $
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
$.buffer |
static interface |
$.io |
static interface |
$.javabean |
static interface |
$.json |
static interface |
$.string |
static interface |
$.thread |
static interface |
$.uri |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApplicationContext |
createApplicationContext()
Create default application context.
|
static ApplicationContext |
createApplicationContext(String path) |
static SimpleHTTPClient |
createHTTPClient()
Create an new HTTP client instance
|
static SimpleHTTPClient |
createHTTPClient(SimpleHTTPClientConfiguration configuration)
Create an new HTTP client instance
|
static SimpleHTTPServer |
createHTTPServer()
Create an new HTTP server instance
|
static SimpleHTTPServer |
createHTTPServer(SimpleHTTPServerConfiguration configuration)
Create an new HTTP server instance
|
static SimpleTcpClient |
createTCPClient()
Create an new TCP client instance
|
static SimpleTcpClient |
createTCPClient(TcpConfiguration configuration)
Create an new TCP client instance
|
static SimpleTcpServer |
createTCPServer()
Create an new TCP server instance
|
static SimpleTcpServer |
createTCPServer(TcpServerConfiguration configuration)
Create an new TCP server instance
|
static ApplicationContext |
getApplicationContext() |
static <T> T |
getBean(Class<T> clazz)
Get bean from default application context.
|
static <T> T |
getBean(String id)
Get bean from default application context.
|
static Map<String,Object> |
getBeanMap()
Get all managed beans.
|
static <T> Collection<T> |
getBeans(Class<T> clazz)
Get all beans by type.
|
static SimpleHTTPClient |
httpClient()
The singleton HTTP client to send all requests.
|
static SimpleHTTPClient |
httpsClient()
The singleton HTTPs client to send all requests.
|
static HTTP2ServerBuilder |
httpServer()
Use fluent API to create an new HTTP server instance.
|
static HTTP2ServerBuilder |
httpServer(SimpleHTTPServerConfiguration serverConfiguration) |
static HTTP2ServerBuilder |
httpServer(SimpleHTTPServerConfiguration serverConfiguration,
HTTPBodyConfiguration httpBodyConfiguration) |
static HTTP2ServerBuilder |
httpsServer() |
static HTTP2ServerBuilder |
httpsServer(SecureSessionFactory secureSessionFactory) |
static SimpleHTTPClient |
plaintextHTTP2Client()
The singleton HTTP client to send all requests.
|
static HTTP2ServerBuilder |
plaintextHTTP2Server() |
static SimpleHTTPClient httpClient()
static SimpleHTTPClient plaintextHTTP2Client()
static SimpleHTTPClient httpsClient()
static SimpleHTTPClient createHTTPClient()
static SimpleHTTPClient createHTTPClient(SimpleHTTPClientConfiguration configuration)
configuration - HTTP client configurationstatic HTTP2ServerBuilder httpServer()
static HTTP2ServerBuilder plaintextHTTP2Server()
static HTTP2ServerBuilder httpServer(SimpleHTTPServerConfiguration serverConfiguration)
static HTTP2ServerBuilder httpServer(SimpleHTTPServerConfiguration serverConfiguration, HTTPBodyConfiguration httpBodyConfiguration)
static HTTP2ServerBuilder httpsServer()
static HTTP2ServerBuilder httpsServer(SecureSessionFactory secureSessionFactory)
static SimpleHTTPServer createHTTPServer()
static SimpleHTTPServer createHTTPServer(SimpleHTTPServerConfiguration configuration)
configuration - HTTP server configurationstatic SimpleTcpClient createTCPClient()
static SimpleTcpClient createTCPClient(TcpConfiguration configuration)
configuration - TCP client configurationstatic SimpleTcpServer createTCPServer()
static SimpleTcpServer createTCPServer(TcpServerConfiguration configuration)
configuration - TCP server configurationstatic ApplicationContext createApplicationContext()
static ApplicationContext createApplicationContext(String path)
static <T> T getBean(Class<T> clazz)
T - Bean typeclazz - the bean's Class objectstatic ApplicationContext getApplicationContext()
static <T> T getBean(String id)
T - bean typeid - the bean's idstatic <T> Collection<T> getBeans(Class<T> clazz)
T - Bean typeclazz - Bean's class objectCopyright © 2017. All rights reserved.