public class SimpleRestController extends Object
Modifier and Type | Field and Description |
---|---|
static char |
CSV_DELIMITER |
static long |
NO_JOB_ID |
static String |
NOT_FOUND_STRING |
static String |
OP_METRICS |
static String |
OP_RESTART |
static String |
OP_START |
static String |
OP_STATUS |
static String |
OP_STOP |
static String |
REST_CONTENT_TYPE |
Constructor and Description |
---|
SimpleRestController(javax.batch.operations.JobOperator jobOperator) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String path)
The main entry for the simple REST handling
|
public static final String REST_CONTENT_TYPE
public static final String NOT_FOUND_STRING
public static final char CSV_DELIMITER
public static final String OP_START
public static final String OP_STATUS
public static final String OP_METRICS
public static final String OP_STOP
public static final String OP_RESTART
public static final long NO_JOB_ID
public SimpleRestController(javax.batch.operations.JobOperator jobOperator)
public void dispatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, String path)
Copyright © 2017 The Apache Software Foundation. All rights reserved.