C# Class exo_jcr.webdav.csclient.Commands.WebDavCommand

Mostrar archivo Open project: exodev/jcr-msofficeplugin

Protected Properties

Property Type Description
context exo_jcr.webdav.csclient.Request.DavContext
isNeedXmlRequest bool
requestBytes byte[]
responseBytes byte[]

Public Methods

Method Description
ReadLine ( NetworkStream stream, int maxLen, int idleTimeOut ) : string
WebDavCommand ( DavContext context ) : System
addRequestHeader ( String headerName, String headerValue ) : void
execute ( ) : int
finalizeExecuting ( ) : void
generateXmlRequest ( ) : byte[]
getBytes ( String value ) : byte[]
getRequestHeader ( String headerName ) : String
getResponseBody ( ) : byte[]
getResponseHeader ( String headerName ) : String
getStatus ( ) : int
setResourcePath ( String resourcePath ) : void

Private Methods

Method Description
addResponseHeader ( String headerName, String headerValue ) : void

Method Details

ReadLine() public static method

public static ReadLine ( NetworkStream stream, int maxLen, int idleTimeOut ) : string
stream NetworkStream
maxLen int
idleTimeOut int
return string

WebDavCommand() public method

public WebDavCommand ( DavContext context ) : System
context exo_jcr.webdav.csclient.Request.DavContext
return System

addRequestHeader() public method

public addRequestHeader ( String headerName, String headerValue ) : void
headerName String
headerValue String
return void

execute() public method

public execute ( ) : int
return int

finalizeExecuting() public method

public finalizeExecuting ( ) : void
return void

generateXmlRequest() public method

public generateXmlRequest ( ) : byte[]
return byte[]

getBytes() public method

public getBytes ( String value ) : byte[]
value String
return byte[]

getRequestHeader() public method

public getRequestHeader ( String headerName ) : String
headerName String
return String

getResponseBody() public method

public getResponseBody ( ) : byte[]
return byte[]

getResponseHeader() public method

public getResponseHeader ( String headerName ) : String
headerName String
return String

getStatus() public method

public getStatus ( ) : int
return int

setResourcePath() public method

public setResourcePath ( String resourcePath ) : void
resourcePath String
return void

Property Details

context protected_oe property

protected DavContext,exo_jcr.webdav.csclient.Request context
return exo_jcr.webdav.csclient.Request.DavContext

isNeedXmlRequest protected_oe property

protected bool isNeedXmlRequest
return bool

requestBytes protected_oe property

protected byte[] requestBytes
return byte[]

responseBytes protected_oe property

protected byte[] responseBytes
return byte[]