-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document hidden and protected classes #12511
Conversation
Fix #12106 by documenting hidden and protected classes.
documentation/jetty/modules/programming-guide/pages/server/http.adoc
Outdated
Show resolved
Hide resolved
documentation/jetty/modules/programming-guide/pages/server/http.adoc
Outdated
Show resolved
Hide resolved
documentation/jetty/modules/programming-guide/pages/server/http.adoc
Outdated
Show resolved
Hide resolved
documentation/jetty/modules/programming-guide/pages/server/http.adoc
Outdated
Show resolved
Hide resolved
documentation/jetty/modules/programming-guide/pages/server/http.adoc
Outdated
Show resolved
Hide resolved
jetty-ee11/jetty-ee11-webapp/src/main/java/org/eclipse/jetty/ee11/webapp/WebAppContext.java
Outdated
Show resolved
Hide resolved
jetty-ee11/jetty-ee11-webapp/src/main/java/org/eclipse/jetty/ee11/webapp/WebAppContext.java
Outdated
Show resolved
Hide resolved
jetty-ee11/jetty-ee11-webapp/src/main/java/org/eclipse/jetty/ee11/webapp/WebAppContext.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Jan Bartel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of changes for consistency but otherwise ok.
@@ -672,22 +677,28 @@ public void addHiddenClassMatcher(ClassMatcher hiddenClasses) | |||
* any existing matcher. | |||
* | |||
* @param protectedClasses The class matcher of patterns to add to the system ClassMatcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param protectedClasses The class matcher of patterns to add to the system ClassMatcher | |
* @param protectedClasses The class matcher of patterns to add to the protected (system) ClassMatcher |
@@ -661,6 +664,8 @@ public void setProtectedClassMatcher(ClassMatcher protectedClasses) | |||
* any existing matcher. | |||
* | |||
* @param hiddenClasses The class matcher of patterns to add to the server ClassMatcher |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param hiddenClasses The class matcher of patterns to add to the server ClassMatcher | |
* @param hiddenClasses The class matcher of patterns to add to the hidden (server) ClassMatcher |
*/ | ||
public void addProtectedClassMatcher(ClassMatcher protectedClasses) | ||
{ | ||
_protectedClasses.add(protectedClasses.getPatterns()); | ||
} | ||
|
||
/** | ||
* @return The ClassMatcher used to match System (protected) classes | ||
* @return The ClassMatcher used to match System (protected) classes to implement the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @return The ClassMatcher used to match System (protected) classes to implement the | |
* @return The ClassMatcher used to match protected (system) classes to implement the |
*/ | ||
public ClassMatcher getProtectedClassMatcher() | ||
{ | ||
return _protectedClasses; | ||
} | ||
|
||
/** | ||
* @return The ClassMatcher used to match Server (hidden) classes | ||
* @return The ClassMatcher used to match Server (hidden) classes to implement the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @return The ClassMatcher used to match Server (hidden) classes to implement the | |
* @return The ClassMatcher used to match hidden (server) classes to implement the |
Fix #12106 by documenting hidden and protected classes.