Search in sources :

Example 1 with TruncatedResponse

use of net.opengis.wfs._2.TruncatedResponse in project web-feature-service by 3dcitydb.

the class QueryExecuter method getTruncatedResponse.

private TruncatedResponse getTruncatedResponse(WFSException wfsException, HttpServletRequest request) {
    WFSExceptionReportHandler reportHandler = new WFSExceptionReportHandler(cityGMLBuilder);
    ExceptionReport exceptionReport = reportHandler.getExceptionReport(wfsException, KVPConstants.GET_FEATURE, request, true);
    TruncatedResponse truncatedResponse = new TruncatedResponse();
    truncatedResponse.setExceptionReport(exceptionReport);
    return truncatedResponse;
}
Also used : ExceptionReport(net.opengis.ows._1.ExceptionReport) TruncatedResponse(net.opengis.wfs._2.TruncatedResponse) WFSExceptionReportHandler(vcs.citydb.wfs.exception.WFSExceptionReportHandler)

Example 2 with TruncatedResponse

use of net.opengis.wfs._2.TruncatedResponse in project web-feature-service by 3dcitydb.

the class QueryExecuter method getTruncatedResponse.

private TruncatedResponse getTruncatedResponse(WFSException wfsException, HttpServletRequest request) {
    WFSExceptionReportHandler reportHandler = new WFSExceptionReportHandler(cityGMLBuilder);
    ExceptionReport exceptionReport = reportHandler.getExceptionReport(wfsException, KVPConstants.GET_PROPERTY_VALUE, request, true);
    TruncatedResponse truncatedResponse = new TruncatedResponse();
    truncatedResponse.setExceptionReport(exceptionReport);
    return truncatedResponse;
}
Also used : ExceptionReport(net.opengis.ows._1.ExceptionReport) TruncatedResponse(net.opengis.wfs._2.TruncatedResponse) WFSExceptionReportHandler(vcs.citydb.wfs.exception.WFSExceptionReportHandler)

Aggregations

ExceptionReport (net.opengis.ows._1.ExceptionReport)2 TruncatedResponse (net.opengis.wfs._2.TruncatedResponse)2 WFSExceptionReportHandler (vcs.citydb.wfs.exception.WFSExceptionReportHandler)2