Class RedirectHttpHandler
- java.lang.Object
-
- cn.boboweike.carrot.dashboard.server.AbstractHttpExchangeHandler
-
- cn.boboweike.carrot.dashboard.server.http.RedirectHttpHandler
-
- All Implemented Interfaces:
HttpExchangeHandler,HttpHandler,AutoCloseable
public class RedirectHttpHandler extends AbstractHttpExchangeHandler
-
-
Constructor Summary
Constructors Constructor Description RedirectHttpHandler(String contextPath, String to)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContextPath()voidhandle(HttpExchange httpExchange)-
Methods inherited from class cn.boboweike.carrot.dashboard.server.AbstractHttpExchangeHandler
close
-
-
-
-
Method Detail
-
getContextPath
public String getContextPath()
-
handle
public void handle(HttpExchange httpExchange) throws IOException
- Throws:
IOException
-
-