C# Class Amazon.S3.Internal.AmazonS3HttpDeleteHandler

Custom pipeline handler to add Content-Type application/x-www-form-urlencoded to http DELETE requests if using Unity Android. The underlying http handler adds this if no Content-Type is supplied, which would result in an inaccurate signature.
Inheritance: PipelineHandler
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
InvokeAsync ( IAsyncExecutionContext executionContext ) : IAsyncResult

Calls pre invoke logic before calling the next handler in the pipeline.

InvokeSync ( IExecutionContext executionContext ) : void

Calls pre invoke logic before calling the next handler in the pipeline.

Protected Methods

Method Description
PreInvoke ( IExecutionContext executionContext ) : void

Custom pipeline handler to add Content-Type application/x-www-form-urlencoded to http DELETE requests if using Unity Android. The underlying http handler adds this if no Content-Type is supplied, which would result in an inaccurate signature.

Private Methods

Method Description
ModifyDeleteRequest ( IExecutionContext executionContext ) : void

Method Details

InvokeAsync() public method

Calls pre invoke logic before calling the next handler in the pipeline.
public InvokeAsync ( IAsyncExecutionContext executionContext ) : IAsyncResult
executionContext IAsyncExecutionContext The execution context which contains both the /// requests and response context.
return IAsyncResult

InvokeSync() public method

Calls pre invoke logic before calling the next handler in the pipeline.
public InvokeSync ( IExecutionContext executionContext ) : void
executionContext IExecutionContext The execution context which contains both the /// requests and response context.
return void

PreInvoke() protected method

Custom pipeline handler to add Content-Type application/x-www-form-urlencoded to http DELETE requests if using Unity Android. The underlying http handler adds this if no Content-Type is supplied, which would result in an inaccurate signature.
protected PreInvoke ( IExecutionContext executionContext ) : void
executionContext IExecutionContext
return void