Package org.openrefine.importing
Class DefaultImportingController
- java.lang.Object
-
- org.openrefine.importing.DefaultImportingController
-
- All Implemented Interfaces:
HttpResponder
,ImportingController
public class DefaultImportingController extends Object implements ImportingController
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DefaultImportingController.JobResponse
-
Field Summary
Fields Modifier and Type Field Description protected RefineServlet
servlet
-
Constructor Summary
Constructors Constructor Description DefaultImportingController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
init(RefineServlet servlet)
static void
writeErrors(com.fasterxml.jackson.core.JsonGenerator writer, List<Exception> exceptions)
-
-
-
Field Detail
-
servlet
protected RefineServlet servlet
-
-
Method Detail
-
init
public void init(RefineServlet servlet)
- Specified by:
init
in interfaceHttpResponder
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
doGet
in interfaceHttpResponder
- Throws:
javax.servlet.ServletException
IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Specified by:
doPost
in interfaceHttpResponder
- Throws:
javax.servlet.ServletException
IOException
-
writeErrors
public static void writeErrors(com.fasterxml.jackson.core.JsonGenerator writer, List<Exception> exceptions) throws IOException
- Throws:
IOException
-
-