mura.client

Class httpSession

lucee.Component
    extended by mura.cfobject
      extended by mura.client.httpSession

This provides ability to hold a cookie based session to a remote website

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    private any callWithOutProxyServer([any url], [any data], [any httpMethod], [any paramType], [any referer])
    private any callWithProxyServer([any url], [any data], [any httpMethod], [any paramType], [any referer])
    any get([any url='/'], [any data='[runtime expression]'], [any referer=''])
    any getBaseURL()
    any getCharSet()
    any getHost()
    any getPort()
    any getProtocal()
    any getReferer()
    any getResolveurl()
    struct GetResponseCookies(struct Response)
         This parses the response of a CFHttp call and puts the cookies into a struct.
    any getThrowOnError()
    any getTimeout()
    any getUserAgent()
    any post([any url='/'], [any data='[runtime expression]'], [any referer=''])
    any setCharSet([any charSet])
    any setConfigBean([any configBean])
    any setHost([any Host])
    any setPort([any port])
    any setProtocal([any protocal])
    any setReferer([any referer])
    any setResolveurl([any resolveurl])
    any setThrowOnError([any throwOnError])
    any setTimeout([any timeout])
    any setUserAgent([any userAgent])
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, getValue, hasCustomDatasource, init, initTracePoint, inject, injectMethod, invokeMethod, mixin, parseDateArg, removeValue, set, setValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    callWithOutProxyServer

    private any callWithOutProxyServer([any url], [any data], [any httpMethod], [any paramType], [any referer])

    Parameters:
    url
    data
    httpMethod
    paramType
    referer

    callWithProxyServer

    private any callWithProxyServer([any url], [any data], [any httpMethod], [any paramType], [any referer])

    Parameters:
    url
    data
    httpMethod
    paramType
    referer

    get

    public any get([any url='/'], [any data='[runtime expression]'], [any referer=''])

    Overrides:
    get in class cfobject
    Parameters:
    url
    data
    referer

    getBaseURL

    public any getBaseURL()


    getCharSet

    public any getCharSet()


    getHost

    public any getHost()


    getPort

    public any getPort()


    getProtocal

    public any getProtocal()


    getReferer

    public any getReferer()


    getResolveurl

    public any getResolveurl()


    GetResponseCookies

    public struct GetResponseCookies(struct Response)

    This parses the response of a CFHttp call and puts the cookies into a struct.

    Parameters:
    Response - The response of a CFHttp call.

    getThrowOnError

    public any getThrowOnError()


    getTimeout

    public any getTimeout()


    getUserAgent

    public any getUserAgent()


    post

    public any post([any url='/'], [any data='[runtime expression]'], [any referer=''])

    Parameters:
    url
    data
    referer

    setCharSet

    public any setCharSet([any charSet])

    Parameters:
    charSet

    setConfigBean

    public any setConfigBean([any configBean])

    Parameters:
    configBean

    setHost

    public any setHost([any Host])

    Parameters:
    Host

    setPort

    public any setPort([any port])

    Parameters:
    port

    setProtocal

    public any setProtocal([any protocal])

    Parameters:
    protocal

    setReferer

    public any setReferer([any referer])

    Parameters:
    referer

    setResolveurl

    public any setResolveurl([any resolveurl])

    Parameters:
    resolveurl

    setThrowOnError

    public any setThrowOnError([any throwOnError])

    Parameters:
    throwOnError

    setTimeout

    public any setTimeout([any timeout])

    Parameters:
    timeout

    setUserAgent

    public any setUserAgent([any userAgent])

    Parameters:
    userAgent