public class GatewayInvocation extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private JbootGatewayConfig |
config |
private static boolean |
devMode |
private int |
index |
private GatewayInterceptor[] |
inters |
private GatewayHttpProxy |
proxy |
private String |
proxyUrl |
private javax.servlet.http.HttpServletRequest |
request |
private javax.servlet.http.HttpServletResponse |
response |
private boolean |
skipExceptionRender |
| 构造器和说明 |
|---|
GatewayInvocation(JbootGatewayConfig config,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
| 限定符和类型 | 方法和说明 |
|---|---|
private static String |
buildProxyUrl(JbootGatewayConfig config,
javax.servlet.http.HttpServletRequest request) |
protected void |
doInvoke() |
JbootGatewayConfig |
getConfig() |
int |
getIndex() |
GatewayInterceptor[] |
getInters() |
GatewayHttpProxy |
getProxy() |
String |
getProxyUrl() |
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
boolean |
hasException() |
void |
invoke() |
boolean |
isSkipExceptionRender() |
private static void |
renderError(Exception error,
com.jfinal.kit.Ret errorMessage,
JbootGatewayConfig config,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setConfig(JbootGatewayConfig config) |
void |
setIndex(int index) |
void |
setInters(GatewayInterceptor[] inters) |
void |
setProxy(GatewayHttpProxy proxy) |
void |
setProxyUrl(String proxyUrl) |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setResponse(javax.servlet.http.HttpServletResponse response) |
void |
setSkipExceptionRender(boolean skipExceptionRender) |
private JbootGatewayConfig config
private GatewayInterceptor[] inters
private javax.servlet.http.HttpServletRequest request
private javax.servlet.http.HttpServletResponse response
private GatewayHttpProxy proxy
private boolean skipExceptionRender
private static boolean devMode
private int index
public GatewayInvocation(JbootGatewayConfig config, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void invoke()
protected void doInvoke()
private static void renderError(Exception error, com.jfinal.kit.Ret errorMessage, JbootGatewayConfig config, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
private static String buildProxyUrl(JbootGatewayConfig config, javax.servlet.http.HttpServletRequest request)
public JbootGatewayConfig getConfig()
public void setConfig(JbootGatewayConfig config)
public GatewayInterceptor[] getInters()
public void setInters(GatewayInterceptor[] inters)
public javax.servlet.http.HttpServletRequest getRequest()
public void setRequest(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletResponse getResponse()
public void setResponse(javax.servlet.http.HttpServletResponse response)
public int getIndex()
public void setIndex(int index)
public GatewayHttpProxy getProxy()
public void setProxy(GatewayHttpProxy proxy)
public boolean hasException()
public String getProxyUrl()
public void setProxyUrl(String proxyUrl)
public boolean isSkipExceptionRender()
public void setSkipExceptionRender(boolean skipExceptionRender)
Copyright © 2024. All rights reserved.