public class HtmlSafeMethodNameAnnotator extends Object implements MethodAnnotator
Method annotator that marks certain methods as being HtmlSafe based on the method name.
This policy will annotate any method whose name ends with "Html" or starts with "render" as having a HTML safe return value.
|Constructor and Description|
|Modifier and Type||Method and Description|
Return a collection of annotations for a method
public Collection<Annotation> getAnnotationsForMethod(Method method)
Copyright © 2003–2016 Atlassian. All rights reserved.