public class HttpTemplateInstance extends Object
HttpTemplate
.Constructor and Description |
---|
HttpTemplateInstance(String woofTemplateName,
String uri,
String templatePath,
String logicClassName,
SectionType sectionType,
WoofTemplateModel superTemplate,
Set<String> inheritedTemplateOutputNames,
String contentType,
boolean isTemplateSecure,
Map<String,Boolean> linksSecure,
String[] renderRedirectHttpMethods,
boolean isContinueRendering,
HttpTemplateExtensionInstance[] extensionInstances)
Initiate.
|
HttpTemplateInstance(WoofTemplateModel template,
WoofChanges changes)
Initiate deriving details from
WoofTemplateModel . |
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
Obtains the Content-Type for the
WoofTemplateModel . |
Set<String> |
getInheritedTemplateOutputNames()
Obtains the names of the
WoofTemplateOutputModel instances that
are inheriting their configuration. |
Map<String,Boolean> |
getLinksSecure()
Obtains the mapping of secure for
HttpTemplate links. |
String |
getLogicClassName()
Obtains the name of the logic class for the
HttpTemplate . |
Map<String,String> |
getOutputNameMapping()
Obtains the mapping of refactored
SectionOutputType name to
existing WoofTemplateOutputModel name. |
String[] |
getRenderRedirectHttpMethods()
Obtains the HTTP methods that will trigger a redirect on rendering the
HttpTemplate . |
WoofTemplateModel |
getSuperTemplate()
Obtains the super
WoofTemplateModel . |
HttpTemplateExtensionInstance[] |
getTemplateExtensionInstances()
Obtains the
HttpTemplateExtensionInstance listing. |
String[] |
getTemplateOutputNames()
Obtains the
WoofTemplateOutputModel names on the
WoofTemplateModel being refactored. |
String |
getTemplatePath()
Obtains the path to the
HttpTemplate . |
SectionType |
getTemplateSectionType()
Obtains the
SectionType . |
String |
getUri()
Obtains the URI.
|
WoofTemplateExtension[] |
getWoofTemplateExtensions()
Obtains the
WoofTemplateExtension instances. |
String |
getWoofTemplateName()
Obtains the
WoofTemplateModel name. |
boolean |
isContinueRendering()
Indicates if may continue rendering.
|
boolean |
isTemplateSecure()
Obtains whether the
HttpTemplate requires a secure
ServerHttpConnection . |
public HttpTemplateInstance(String woofTemplateName, String uri, String templatePath, String logicClassName, SectionType sectionType, WoofTemplateModel superTemplate, Set<String> inheritedTemplateOutputNames, String contentType, boolean isTemplateSecure, Map<String,Boolean> linksSecure, String[] renderRedirectHttpMethods, boolean isContinueRendering, HttpTemplateExtensionInstance[] extensionInstances)
woofTemplateName
- WoofTemplateModel
name.uri
- URI.templatePath
- Path to the HttpTemplate
.logicClassName
- Name of the logic class.sectionType
- SectionType
.superTemplate
- Super WoofTemplateModel
. May be null
if
not inheriting.inheritedTemplateOutputNames
- Names of the WoofTemplateOutputModel
instances that
are inheriting their configuration.contentType
- Content-Type for the WoofTemplateModel
.isTemplateSecure
- Indicates if the HttpTemplate
requires a secure
ServerHttpConnection
.linksSecure
- HttpTemplate
links requiring specific secure
configuration.renderRedirectHttpMethods
- HTTP methods that trigger a redirect on rendering the
HttpTemplate
.isContinueRendering
- Indicates if allow to continue rendering.extensionInstances
- HttpTemplateExtensionInstance
listing to extend the
HttpTemplate
.public HttpTemplateInstance(WoofTemplateModel template, WoofChanges changes)
WoofTemplateModel
.template
- WoofTemplateModel
.changes
- WoofChanges
.public String getWoofTemplateName()
WoofTemplateModel
name.WoofTemplateModel
name.public String getUri()
public String getTemplatePath()
HttpTemplate
.HttpTemplate
.public String getLogicClassName()
HttpTemplate
.HttpTemplate
.public SectionType getTemplateSectionType()
SectionType
.SectionType
.public WoofTemplateModel getSuperTemplate()
WoofTemplateModel
.WoofTemplateModel
or null
if not
extending a WoofTemplateModel
.public Set<String> getInheritedTemplateOutputNames()
WoofTemplateOutputModel
instances that
are inheriting their configuration.WoofTemplateOutputModel
names.public String getContentType()
WoofTemplateModel
.WoofTemplateModel
.public boolean isTemplateSecure()
HttpTemplate
requires a secure
ServerHttpConnection
.true
should the HttpTemplate
require a
secure ServerHttpConnection
.public Map<String,Boolean> getLinksSecure()
HttpTemplate
links.HttpTemplate
links.public String[] getRenderRedirectHttpMethods()
HttpTemplate
.HttpTemplate
.public boolean isContinueRendering()
true
to allow continue rendering.public HttpTemplateExtensionInstance[] getTemplateExtensionInstances()
HttpTemplateExtensionInstance
listing.HttpTemplateExtensionInstance
listing.public WoofTemplateExtension[] getWoofTemplateExtensions()
WoofTemplateExtension
instances.WoofTemplateExtension
instances.public String[] getTemplateOutputNames()
WoofTemplateOutputModel
names on the
WoofTemplateModel
being refactored.WoofTemplateOutputModel
names on the
WoofTemplateModel
being refactored. May be
null
public Map<String,String> getOutputNameMapping()
SectionOutputType
name to
existing WoofTemplateOutputModel
name.SectionOutputType
name to existing
WoofTemplateOutputModel
name. May be null
.Copyright © 2005–2016. All rights reserved.