Package | Description |
---|---|
org.restsql.core |
Contains core framework interfaces, an API for deployments that use
restSQL as a library, rather than an HTTP service.
|
Modifier and Type | Method and Description |
---|---|
List<List<RequestValue>> |
Request.getChildrenParameters()
Returns children CUD requests to a single parent for a hierarchical SQL Resource.
|
List<RequestValue> |
Request.getParameters()
Returns ordered list of parameters, for example the selection filter for update request.
|
static List<RequestValue> |
RequestUtil.getResIds(SqlResource sqlResource,
String[] values)
Returns name-value pairs, resourceId and value, for given resource and ordered value array.
|
List<RequestValue> |
Request.getResourceIdentifiers()
Returns ordered list of primary key values for a CRUD request on a single object (row).
|
Modifier and Type | Method and Description |
---|---|
void |
ColumnMetaData.normalizeValue(RequestValue requestValue)
Converts String value to a numeric Object, Date or UUDecode String into Object if required using the column
metadata.
|
Modifier and Type | Method and Description |
---|---|
static void |
RequestUtil.checkForInvalidMultipleParameters(List<RequestValue> params)
Checks for parameter list validity.
|
WriteResponse |
RequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger)
Executes write request.
|
static Request |
Factory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
static Request |
Factory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
static Request |
Factory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
Request |
Factory.RequestFactory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger) |
Request |
Factory.RequestFactory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger) |
Request |
Factory.RequestFactory.getRequest(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger) |
static Request |
Factory.getRequest(Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
static Request |
Factory.getRequest(Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
static Request |
Factory.getRequest(Request.Type type,
String sqlResource,
List<RequestValue> resIds,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Returns request object with pre-parsed data from the URI.
|
static String |
RequestUtil.getResponseMediaType(List<RequestValue> params,
String requestMediaType,
String acceptMediaType)
Determines content type from parameters, and removing the output param if present.
|
void |
Request.setParameters(List<RequestValue> params)
Sets parameters for request.
|
Copyright © 2011-2018 restSQL Project Contributors