@FunctionalInterface public interface ResponseHeadersProcessor
In standalone mode there's only a single response-headers node in the DMR response, whereas in domain mode
the response headers are scoped to a specific server group, host and server. The process(Header[]) method
will only receive the response-headers payload w/o the surrounding 'noise'.
Standalone Mode:
{
"outcome" => "success",
"response-headers" => {
"foo" => "bar",
...
}
}
Domain Mode:
{
"outcome" => "success",
"server-groups" => {
"main-server-group" => {
"host" => {
"master" => {
"server-one" => {
"response" => {
"outcome" => "success",
"response-headers" => {
"foo" => "bar",
...
}
}
},
"server-two" => {
"response" => {
"outcome" => "success",
"response-headers" => {
"foo" => "bar",
...
}
}
}
}
}
}
}
}
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResponseHeadersProcessor.Header |
| Modifier and Type | Method and Description |
|---|---|
void |
process(ResponseHeadersProcessor.Header[] headers)
Method to process the response headers.
|
void process(ResponseHeadersProcessor.Header[] headers)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.