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 |
---|---|
RequestLogger |
Request.getLogger()
Returns request logger.
|
static RequestLogger |
Factory.getRequestLogger()
Returns request logger.
|
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,
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) |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestLoggerImpl
Logs request for troubleshooting applications.
|
Modifier and Type | Method and Description |
---|---|
RequestLogger |
RequestImpl.getLogger() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 javax.ws.rs.core.Response |
HttpRequestHelper.handleException(javax.servlet.http.HttpServletRequest httpRequest,
String requestBody,
String requestMediaType,
SqlResourceException exception,
RequestLogger requestLogger)
Determines exception type, logs issue and returns appropriate http status with the exception message in the body.
|
Copyright © 2011-2018 restSQL Project Contributors