Executor
within the lifecycle of a Spring ApplicationContext.
This factory implements InitializingBean and DisposableBean
and is expected typically to be declared as a Spring-managed bean.
JdkClientHttpConnector#JdkClientHttpConnector(HttpClient.Builder, JdkHttpClientResourceFactory)
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public void | destroy()
Implements org. Invoked by the containing |
| public Executor | |
| public void | setExecutor(Executor
the executor to use executor)Configure the |
| public void | setThreadPrefix(String
the thread prefix to use threadPrefix)Configure the thread prefix to initialize the executor with. |
| executor | back to summary |
|---|---|
| private Executor executor
| |
| threadPrefix | back to summary |
|---|---|
| private String threadPrefix | |
| JdkHttpClientResourceFactory | back to summary |
|---|---|
| public JdkHttpClientResourceFactory() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() throws Exception Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. | |
| destroy | back to summary |
|---|---|
| public void destroy() throws Exception Implements org. Doc from org. Invoked by the containing | |
| getExecutor | back to summary |
|---|---|
| public Executor getExecutor() Return the configured
| |
| setExecutor | back to summary |
|---|---|
| public void setExecutor(Executor executor) Configure the By default, this is set to
| |
| setThreadPrefix | back to summary |
|---|---|
| public void setThreadPrefix(String threadPrefix) Configure the thread prefix to initialize the executor with. This
is used only when a By default set to "jdk-http".
| |