Class TemplateService.TemplateRequest

  • All Implemented Interfaces:
    Request
    Enclosing class:
    TemplateService

    protected static class TemplateService.TemplateRequest
    extends RequestImpl
    A subclass of RequestImpl relevant to template queries.
    • Constructor Detail

      • TemplateRequest

        public TemplateRequest​(Request.RequestType type,
                               java.lang.String serviceUrl,
                               ContentType contentType)
        Constructor.
        Parameters:
        type - GET or POST
        serviceUrl - the URL of the service, not including parameters
        contentType - a ContentType object
    • Method Detail

      • setName

        public void setName​(java.lang.String xml)
        Sets the name of the template to be used.
        Parameters:
        xml - template name
      • setTemplateParameters

        public void setTemplateParameters​(java.util.List<TemplateParameter> parameters)
        Set some template parameters.
        Parameters:
        parameters - a List of TemplateParameter objects