Package | Description |
---|---|
org.restsql.core |
Contains core framework interfaces, an API for deployments that use
restSQL as a library, rather than an HTTP service.
|
org.restsql.core.impl |
Contains core framework implementation.
|
org.restsql.core.impl.serial | |
org.restsql.service |
Contains HTTP interface classes.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpRequestAttributesImpl
Simple http request attributes implementation.
|
Modifier and Type | Method and Description |
---|---|
HttpRequestAttributes |
RequestImpl.getHttpRequestAttributes() |
Modifier and Type | Method and Description |
---|---|
Request |
RequestFactoryImpl.getRequest(HttpRequestAttributes httpAttributes)
Builds request from URI.
|
Request |
RequestFactoryImpl.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.
|
void |
RequestLoggerImpl.setHttpRequestAttributes(HttpRequestAttributes httpAttributes)
Sets attributes of an HTTP request.
|
Constructor and Description |
---|
RequestImpl(HttpRequestAttributes httpAttributes,
Request.Type type,
String sqlResource,
List<RequestValue> resourceIdentifiers,
List<RequestValue> params,
List<List<RequestValue>> childrenParams,
RequestLogger requestLogger)
Constructs object.
|
Modifier and Type | Method and Description |
---|---|
WriteResponse |
XmlRequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger)
Executes write request.
|
WriteResponse |
JsonRequestDeserializer.execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger) |
Modifier and Type | Method and Description |
---|---|
static HttpRequestAttributes |
HttpRequestHelper.getHttpRequestAttributes(javax.servlet.http.HttpServletRequest httpRequest,
String requestBody,
String requestMediaType,
String responseMediaType)
Creates attributes helper object from http request with a request body.
|
Copyright © 2011-2018 restSQL Project Contributors