public abstract class AbstractAggregateHttpHandler extends Object implements io.undertow.server.HttpHandler
Modifier and Type | Field and Description |
---|---|
protected AdminHttpHandler |
adminHandler |
protected static String |
DEFAULT_ACCEPT |
protected io.undertow.server.HttpHandler |
httpHandler |
protected static org.jboss.logging.Logger |
log |
protected static String |
REPLACE_PAGE |
protected static String |
REPLACE_PAGE_SIZE |
Constructor and Description |
---|
AbstractAggregateHttpHandler(io.undertow.server.HttpHandler httpHandler,
AdminHttpHandler adminHandler) |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
getServerHosts() |
protected void |
handleOptions(io.undertow.server.HttpServerExchange exchange) |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected void |
removeHostOnException(String url,
Exception e) |
protected String |
sendOptionsRequest(String url,
io.undertow.server.HttpServerExchange exchange,
Map<String,List<String>> responseHeaders) |
protected String |
sendRequest(String url,
io.undertow.server.HttpServerExchange exchange,
Map<String,List<String>> responseHeaders,
String page,
String pageSize) |
protected boolean |
supportAdvancedAggregate() |
protected static final org.jboss.logging.Logger log
protected static final String REPLACE_PAGE
protected static final String REPLACE_PAGE_SIZE
protected static final String DEFAULT_ACCEPT
protected io.undertow.server.HttpHandler httpHandler
protected AdminHttpHandler adminHandler
public AbstractAggregateHttpHandler(io.undertow.server.HttpHandler httpHandler, AdminHttpHandler adminHandler)
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
handleRequest
in interface io.undertow.server.HttpHandler
Exception
protected String sendRequest(String url, io.undertow.server.HttpServerExchange exchange, Map<String,List<String>> responseHeaders, String page, String pageSize) throws Exception
Exception
protected String sendOptionsRequest(String url, io.undertow.server.HttpServerExchange exchange, Map<String,List<String>> responseHeaders) throws Exception
Exception
protected boolean supportAdvancedAggregate()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.