org.nuxeo.ecm.webengine.gwt.dev
Class RedirectService
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.nuxeo.ecm.webengine.gwt.dev.RedirectService
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig, Debug
public class RedirectService
- extends HttpServlet
- implements Debug
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
RedirectService
public RedirectService(String host,
int port)
getRedirectPrefix
public String getRedirectPrefix()
setRedirectPrefix
public void setRedirectPrefix(String redirectPrefix)
setTrace
public void setTrace(boolean trace)
setTraceContent
public void setTraceContent(boolean traceContent)
redirect
public void redirect(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Throws:
ServletException
IOException
copy
public void copy(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
copyDebug
public void copyDebug(InputStream in,
OutputStream out)
throws IOException
- Throws:
IOException
getStatusCode
public int getStatusCode(String line)
transferResponse
public void transferResponse(InputStream in,
HttpServletResponse resp)
throws IOException
- Throws:
IOException
traceln
public static void traceln(String str)
trace
public static void trace(String str)
main
public static void main(String[] args)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.