public class Proxy extends Object
| Constructor and Description |
|---|
Proxy(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
forwardRequest(String server,
String targetHost,
String path,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
void |
forwardRequest(String server,
String targetHost,
String path,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Map<String,String> headerOverride)
Proxies the request
|
public void forwardRequest(String server, String targetHost, String path, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws Exception
Exceptionpublic void forwardRequest(String server, String targetHost, String path, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Map<String,String> headerOverride) throws Exception
server - the name of the servertargetHost - the target hostpath - the pathreq - the HttpServletReqeustresp - the HttpServletResponseheaderOverride - override the header or notException - containing the stacktraceCopyright © 2019–2021 personify. All rights reserved.