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 |
---|---|
HttpRequestAttributes |
Request.getHttpRequestAttributes()
Returns http request attributes.
|
static HttpRequestAttributes |
Factory.getHttpRequestAttributes(String client,
String method,
String uri,
String requestBody,
String requestContentType,
String responseContentType)
Creates HTTP request attributes.
|
Modifier and Type | Method and Description |
---|---|
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)
Builds request from URI.
|
Request |
Factory.RequestFactory.getRequest(HttpRequestAttributes httpAttributes) |
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) |
void |
RequestLogger.setHttpRequestAttributes(HttpRequestAttributes httpRequestAttributes)
Sets attributes of an HTTP request.
|
Copyright © 2011-2018 restSQL Project Contributors