コード例 #1
0
ファイル: S3Server.java プロジェクト: ttddlplp/s3test
 private void respondErrorAndClose(HttpExchange exchange, ErrorResponse errorResponse)
     throws IOException {
   respondWithXmlDocumentAndClose(
       exchange, errorResponse.getStatusCode(), new ErrorResponseXmlDocument(errorResponse));
 }