struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yasserzam...@apache.org
Subject [struts] 01/01: Merge pull request #422 from apache/WW-5080-plain-result
Date Tue, 07 Jul 2020 14:14:53 GMT
This is an automated email from the ASF dual-hosted git repository.

yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit fbe06c0a66e0b43524fde6de7b92828404d4d21c
Merge: 64360ec f2d73ee
Author: Yasser Zamani <yasserzamani@apache.org>
AuthorDate: Tue Jul 7 18:44:45 2020 +0430

    Merge pull request #422 from apache/WW-5080-plain-result
    
    [WW-5080] Defines a new result type plain to use directly with Java code

 .../org/apache/struts2/result/PlainResult.java     | 104 ++++++++++++++++
 .../apache/struts2/result/plain/BodyWriter.java    |  41 ++++++
 .../struts2/result/plain/DateHttpHeader.java       |  38 ++++++
 .../apache/struts2/result/plain/HttpCookies.java   |  39 ++++++
 .../apache/struts2/result/plain/HttpHeader.java    |  27 ++++
 .../apache/struts2/result/plain/HttpHeaders.java   |  58 +++++++++
 .../apache/struts2/result/plain/IntHttpHeader.java |  39 ++++++
 .../struts2/result/plain/ResponseBuilder.java      | 111 +++++++++++++++++
 .../struts2/result/plain/StringHttpHeader.java     |  39 ++++++
 .../org/apache/struts2/result/PlainResultTest.java | 138 +++++++++++++++++++++
 10 files changed, 634 insertions(+)


Mime
View raw message