You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2023/01/22 11:04:30 UTC
[struts] branch http-interceptor updated (650d33c81 -> 6159a2e64)
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch http-interceptor
in repository https://gitbox.apache.org/repos/asf/struts.git
discard 650d33c81 Updates JavaDocs
discard b24c40712 Extends interceptor to allow use combination of different Http methods
discard f48a4c60e Defines another annotation shortcuts
discard a576d628d Adjusts better formatting
discard 33f63cee3 Renames annotation to have more explicit meaning
discard 5cf1bfc16 Adds httpInterceptor to stacks
discard 2bc0158df Renames basic annotation to better express its meaning
discard e6f4cc5da Updates JavaDocs in annotations
discard 8ea9e9920 Adds test cases
discard 7fa5133b1 Adds support for annotations on methods
discard 88ea4419c Adds JavaDoc
discard 68ded66f8 Adds new interface to allow action cooperate with HttpMethodInterceptor
discard 80c7005be Adds new http interceptor to allow block access based on method type
discard b3ff475e1 Defines annotations to control access based on http method Defines main annotation AllowedMethod and helper annotations used in most common situation, eg. GetOnly, PostOnly, etc.
discard da57a0402 Defined enum with all http methods
add 6159a2e64 WW-4404 Implements HttpInterceptor
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (650d33c81)
\
N -- N -- N refs/heads/http-interceptor (6159a2e64)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../opensymphony/xwork2/util/AnnotationUtils.java | 27 +++++++++--
.../interceptor/httpmethod/AllowedHttpMethod.java | 20 +++++++-
.../struts2/interceptor/httpmethod/HttpDelete.java | 20 +++++++-
.../struts2/interceptor/httpmethod/HttpGet.java | 20 +++++++-
.../interceptor/httpmethod/HttpGetOrPost.java | 20 +++++++-
.../struts2/interceptor/httpmethod/HttpMethod.java | 20 +++++++-
.../interceptor/httpmethod/HttpMethodAware.java | 26 ++++++++--
.../httpmethod/HttpMethodInterceptor.java | 56 +++++++++++++++-------
.../struts2/interceptor/httpmethod/HttpPost.java | 20 +++++++-
.../struts2/interceptor/httpmethod/HttpPut.java | 20 +++++++-
.../org/apache/struts2/HttpMethodsTestAction.java | 18 +++++++
.../httpmethod/HttpMethodInterceptorTest.java | 18 +++++++
.../interceptor/httpmethod/HttpMethodTest.java | 24 +++++++++-
13 files changed, 275 insertions(+), 34 deletions(-)