Package jakarta.servlet.descriptor
Interface JspPropertyGroupDescriptor
-
public interface JspPropertyGroupDescriptorThis interface provides access to the<jsp-property-group>related configuration of a web application.The configuration is aggregated from the
web.xmlandweb-fragment.xmldescriptor files of the web application.- Since:
- Servlet 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBuffer()Gets the value of thebufferconfiguration, which specifies the default size of the response buffer for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetDefaultContentType()Gets the value of thedefault-content-typeconfiguration, which specifies the default response content type for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetDeferredSyntaxAllowedAsLiteral()Gets the value of thedeferred-syntax-allowed-as-literalconfiguration, which specifies whether the character sequence"#{", which is normally reserved for Expression Language (EL) expressions, will cause a translation error if it appears as a String literal in any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetElIgnored()Gets the value of theel-ignoredconfiguration, which specifies whether Expression Language (EL) evaluation is enabled for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetErrorOnELNotFound()Will the use of an unknown identifier in EL within a JSP page trigger an error for this group?StringgetErrorOnUndeclaredNamespace()Gets the value of theerror-on-undeclared-namespaceconfiguration, which specifies whether an error will be raised at translation time if tag with an undeclared namespace is used in any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.Collection<String>getIncludeCodas()Gets theinclude-codaconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor.Collection<String>getIncludePreludes()Gets theinclude-preludeconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetIsXml()Gets the value of theis-xmlconfiguration, which specifies whether any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptorwill be treated as JSP documents (XML syntax).StringgetPageEncoding()Gets the value of thepage-encodingconfiguration, which specifies the default page encoding for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetScriptingInvalid()Gets the value of thescripting-invalidconfiguration, which specifies whether scripting is enabled for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.StringgetTrimDirectiveWhitespaces()Gets the value of thetrim-directive-whitespacesconfiguration, which specifies whether template text containing only whitespaces must be removed from the response output of any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.Collection<String>getUrlPatterns()Gets the URL patterns of the JSP property group represented by thisJspPropertyGroupDescriptor.
-
-
-
Method Detail
-
getUrlPatterns
Collection<String> getUrlPatterns()
Gets the URL patterns of the JSP property group represented by thisJspPropertyGroupDescriptor.Any changes to the returned
Collectionmust not affect thisJspPropertyGroupDescriptor.- Returns:
- a (possibly empty)
Collectionof the URL patterns of the JSP property group represented by thisJspPropertyGroupDescriptor
-
getElIgnored
String getElIgnored()
Gets the value of theel-ignoredconfiguration, which specifies whether Expression Language (EL) evaluation is enabled for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
el-ignoredconfiguration, or null if unspecified
-
getErrorOnELNotFound
String getErrorOnELNotFound()
Will the use of an unknown identifier in EL within a JSP page trigger an error for this group?- Returns:
trueif an error will be triggered, otherwisefalse- Since:
- Servlet 6.0
-
getPageEncoding
String getPageEncoding()
Gets the value of thepage-encodingconfiguration, which specifies the default page encoding for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
page-encodingconfiguration, or null if unspecified
-
getScriptingInvalid
String getScriptingInvalid()
Gets the value of thescripting-invalidconfiguration, which specifies whether scripting is enabled for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
scripting-invalidconfiguration, or null if unspecified
-
getIsXml
String getIsXml()
Gets the value of theis-xmlconfiguration, which specifies whether any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptorwill be treated as JSP documents (XML syntax).- Returns:
- the value of the
is-xmlconfiguration, or null if unspecified
-
getIncludePreludes
Collection<String> getIncludePreludes()
Gets theinclude-preludeconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor.Any changes to the returned
Collectionmust not affect thisJspPropertyGroupDescriptor.- Returns:
- a (possibly empty)
Collectionof theinclude-preludeconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor
-
getIncludeCodas
Collection<String> getIncludeCodas()
Gets theinclude-codaconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor.Any changes to the returned
Collectionmust not affect thisJspPropertyGroupDescriptor.- Returns:
- a (possibly empty)
Collectionof theinclude-codaconfiguration of the JSP property group represented by thisJspPropertyGroupDescriptor
-
getDeferredSyntaxAllowedAsLiteral
String getDeferredSyntaxAllowedAsLiteral()
Gets the value of thedeferred-syntax-allowed-as-literalconfiguration, which specifies whether the character sequence"#{", which is normally reserved for Expression Language (EL) expressions, will cause a translation error if it appears as a String literal in any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
deferred-syntax-allowed-as-literalconfiguration, or null if unspecified
-
getTrimDirectiveWhitespaces
String getTrimDirectiveWhitespaces()
Gets the value of thetrim-directive-whitespacesconfiguration, which specifies whether template text containing only whitespaces must be removed from the response output of any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
trim-directive-whitespacesconfiguration, or null if unspecified
-
getDefaultContentType
String getDefaultContentType()
Gets the value of thedefault-content-typeconfiguration, which specifies the default response content type for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
default-content-typeconfiguration, or null if unspecified
-
getBuffer
String getBuffer()
Gets the value of thebufferconfiguration, which specifies the default size of the response buffer for any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
bufferconfiguration, or null if unspecified
-
getErrorOnUndeclaredNamespace
String getErrorOnUndeclaredNamespace()
Gets the value of theerror-on-undeclared-namespaceconfiguration, which specifies whether an error will be raised at translation time if tag with an undeclared namespace is used in any JSP pages mapped to the JSP property group represented by thisJspPropertyGroupDescriptor.- Returns:
- the value of the
error-on-undeclared-namespaceconfiguration, or null if unspecified
-
-