|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.app.servlet.HTTPProxy
public class HTTPProxy
Simple server-side HTTP Request / Response
| Field Summary | |
|---|---|
protected javax.servlet.http.HttpServletResponse |
response
|
protected java.net.URL |
url
|
| Constructor Summary | |
|---|---|
HTTPProxy(java.lang.String requestUrl,
javax.servlet.http.HttpServletResponse response)
Construct |
|
| Method Summary | |
|---|---|
protected void |
initialiseResponse(java.net.URLConnection urlConnection)
Initialise response |
void |
service()
Perform request |
protected void |
writeResponse(java.io.InputStream input,
java.io.OutputStream output)
Write response |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.net.URL url
protected javax.servlet.http.HttpServletResponse response
| Constructor Detail |
|---|
public HTTPProxy(java.lang.String requestUrl,
javax.servlet.http.HttpServletResponse response)
throws java.net.MalformedURLException
requestUrl - url to requestresponse - response to write request back to
java.net.MalformedURLException| Method Detail |
|---|
public void service()
throws java.io.IOException
java.io.IOExceptionprotected void initialiseResponse(java.net.URLConnection urlConnection)
urlConnection - url connection
protected void writeResponse(java.io.InputStream input,
java.io.OutputStream output)
throws java.io.IOException
input - input stream of requestoutput - output stream of response
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||