public class HttpObjectConfigImpl extends java.lang.Object implements HttpObjectConfig
HttpObjectConfig.Client, HttpObjectConfig.Execution
HttpConfig.Auth, HttpConfig.AuthType, HttpConfig.Request, HttpConfig.Response, HttpConfig.Status
Constructor and Description |
---|
HttpObjectConfigImpl() |
Modifier and Type | Method and Description |
---|---|
void |
context(java.lang.String contentType,
java.lang.Object id,
java.lang.Object obj)
Registers a context-level content-type specific object.
|
ChainedHttpConfig |
getChainedConfig() |
HttpObjectConfig.Client |
getClient()
Retrieves the client configuration interface implementation.
|
HttpObjectConfig.Execution |
getExecution()
Retrieves the execution configuration interface implementation.
|
HttpConfig |
getParent() |
HttpConfig.Request |
getRequest()
Used to retrieve configuration information about the HTTP request.
|
HttpConfig.Response |
getResponse()
Used to retrieve configuration information about the HTTP response.
|
static java.lang.Object |
nullInterceptor(ChainedHttpConfig config,
java.util.function.Function<ChainedHttpConfig,java.lang.Object> func) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
context
public ChainedHttpConfig getChainedConfig()
getChainedConfig
in interface HttpObjectConfig
public static java.lang.Object nullInterceptor(ChainedHttpConfig config, java.util.function.Function<ChainedHttpConfig,java.lang.Object> func)
public HttpConfig.Request getRequest()
HttpConfig
Used to retrieve configuration information about the HTTP request.
getRequest
in interface HttpConfig
public HttpConfig.Response getResponse()
HttpConfig
Used to retrieve configuration information about the HTTP response.
getResponse
in interface HttpConfig
public HttpConfig getParent()
public HttpObjectConfig.Execution getExecution()
HttpObjectConfig
Retrieves the execution configuration interface implementation.
getExecution
in interface HttpObjectConfig
Execution
configuration instancepublic HttpObjectConfig.Client getClient()
HttpObjectConfig
Retrieves the client configuration interface implementation.
getClient
in interface HttpObjectConfig
Client
configuration instancepublic void context(java.lang.String contentType, java.lang.Object id, java.lang.Object obj)
HttpConfig
Registers a context-level content-type specific object.
context
in interface HttpConfig
contentType
- the content type scope of the mappingid
- the mapping keyobj
- the mapping value