public interface ChainedHttpConfig extends HttpConfig
Modifier and Type | Interface and Description |
---|---|
static interface |
ChainedHttpConfig.ChainedRequest |
static interface |
ChainedHttpConfig.ChainedResponse |
HttpConfig.Auth, HttpConfig.AuthType, HttpConfig.Request, HttpConfig.Response, HttpConfig.Status
Modifier and Type | Method and Description |
---|---|
default java.lang.Object |
actualContext(java.lang.String contentType,
java.lang.Object id) |
default java.nio.charset.Charset |
findCharset() |
default java.lang.String |
findContentType() |
default java.util.function.BiConsumer<ChainedHttpConfig,ToServer> |
findEncoder()
Used to find the encoder configured to encode the current resolved content-type.
|
default java.util.function.BiConsumer<ChainedHttpConfig,ToServer> |
findEncoder(java.lang.String contentType)
Used to find the encoder configured to encode the specified content-type.
|
default java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object> |
findParser(java.lang.String contentType) |
ChainedHttpConfig.ChainedRequest |
getChainedRequest() |
ChainedHttpConfig.ChainedResponse |
getChainedResponse() |
java.util.Map<java.util.Map.Entry<java.lang.String,java.lang.Object>,java.lang.Object> |
getContextMap() |
ChainedHttpConfig |
getParent() |
context, context, getRequest, getResponse
java.util.Map<java.util.Map.Entry<java.lang.String,java.lang.Object>,java.lang.Object> getContextMap()
default java.lang.Object actualContext(java.lang.String contentType, java.lang.Object id)
ChainedHttpConfig.ChainedResponse getChainedResponse()
ChainedHttpConfig.ChainedRequest getChainedRequest()
ChainedHttpConfig getParent()
default java.util.function.BiFunction<ChainedHttpConfig,FromServer,java.lang.Object> findParser(java.lang.String contentType)
default java.util.function.BiConsumer<ChainedHttpConfig,ToServer> findEncoder()
Used to find the encoder configured to encode the current resolved content-type.
java.lang.IllegalStateException
- if no coder was founddefault java.util.function.BiConsumer<ChainedHttpConfig,ToServer> findEncoder(java.lang.String contentType)
Used to find the encoder configured to encode the specified content-type.
contentType
- the content-type to be encodedjava.lang.IllegalStateException
- if no coder was founddefault java.lang.String findContentType()
default java.nio.charset.Charset findCharset()