commandbox.system.endpoints

Class HTTP_Cached

lucee.Component
    extended by commandbox.system.endpoints.HTTP
      extended by commandbox.system.endpoints.HTTP_Cached
All Implemented Interfaces:
IEndpoint
Direct Known Subclasses:
HTTPS_Cached

Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I am the HTTP endpoint. I get packages from an HTTP URL.

Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
  • author : Brad Wood, Luis Majano, Denny Valliant
  •  
    Property Summary
    type property default serializable required
    any HTTPEndpoint


    • access = public
    • returntype = any
    • inject = commandbox.system.endpoints.HTTP
    true false
    any artifactService


    • access = public
    • returntype = any
    • inject = ArtifactService
    true false
    any fileEndpoint


    • access = public
    • returntype = any
    • inject = commandbox.system.endpoints.File
    true false
    string namePrefixes


    • access = public
    • returntype = any
    true false
    any tempDir


    • access = public
    • returntype = any
    • inject = tempDir@constants
    true false
    any wirebox


    • access = public
    • returntype = any
    • inject = wirebox
    true false
    Constructor Summary
    init()
    Method Summary
    string getHTTPEndpoint()
    string resolvePackage(string package, [boolean verbose='false'])
    any setHTTPEndpoint(any HTTPEndpoint)
     
    Methods inherited from class commandbox.system.endpoints.HTTP
    getArtifactService, getCR, getConsoleLogger, getDefaultName, getFileEndpoint, getNamePrefixes, getProgressBar, getProgressableDownloader, getSemanticVersion, getSemverRegex, getTempDir, getUpdate, getWirebox, resolvePackageZip, setArtifactService, setCR, setConsoleLogger, setFileEndpoint, setNamePrefixes, setProgressBar, setProgressableDownloader, setSemanticVersion, setSemverRegex, setTempDir, setWirebox
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    HTTPEndpoint

    property any HTTPEndpoint

    Attributes:
    access - public
    required - false
    returntype - any
    inject - commandbox.system.endpoints.HTTP
    serializable - true

    artifactService

    property any artifactService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - ArtifactService
    serializable - true

    fileEndpoint

    property any fileEndpoint

    Attributes:
    access - public
    required - false
    returntype - any
    inject - commandbox.system.endpoints.File
    serializable - true

    namePrefixes

    property string namePrefixes

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    tempDir

    property any tempDir

    Attributes:
    access - public
    required - false
    returntype - any
    inject - tempDir@constants
    serializable - true

    wirebox

    property any wirebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - wirebox
    serializable - true

    Method Detail

    getHTTPEndpoint

    public string getHTTPEndpoint()


    resolvePackage

    public string resolvePackage(string package, [boolean verbose='false'])

    Specified by:
    resolvePackage in interface IEndpoint
    Overrides:
    resolvePackage in class HTTP
    Parameters:
    package
    verbose

    setHTTPEndpoint

    public any setHTTPEndpoint(any HTTPEndpoint)

    Parameters:
    HTTPEndpoint