Namespace: OpenEdge.Net.HTTP.Filter.Payload
Class
DefaultRequestFilter
Parent classes:
Inherits: OpenEdge.Net.HTTP.Filter.Payload.MessageWriter

Copyright (c) 2015-2017 by Progress Software Corporation. All rights reserved.
File:DefaultRequestFilter
Purpose:Writes data from a request into another data structure,
as passed into the Write() methods.
Author(s):pjudge
Created:Mon Jan 26 09:57:31 EST 2015
/* Default constructor




Method Summary
Options Name Purpose
OpenEdge.Core.ByteBucket ExtractEntity (IHttpRequest) /** Extracts the contents of the Entity property, and populates the MessageBody. This default implementation returns an empty message body. @return Memptr A memptr object containing the extracted entity. */
INT64 Write (Object)
WriteHeaders (IHttpRequest) /** Writes the HTTP headers into the bucket @param ByteBucket The target for the write operation */
WriteMessage (IHttpRequest) /** Builds a complete HTTP request (ie headers, protocol etc) for the data in this object. */
WriteRequestLine (IHttpRequest) /** Writes the request line into the bucket @param ByteBucket The target for the write operation */

Constructor Summary
Options Name Purpose
DefaultRequestFilter () /* Default constructor */


Method Detail
Top

OpenEdge.Core.ByteBucket ExtractEntity (IHttpRequest)

Purpose: Extracts the contents of the Entity property, and
populates the MessageBody.
This default implementation returns an empty message body.
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Returns OpenEdge.Core.ByteBucket
Memptr A memptr object containing the extracted entity.
Top

INT64 Write (Object)

Parameters:
poData Progress.Lang.Object
Returns INT64
Top

WriteHeaders (IHttpRequest)

Purpose: Writes the HTTP headers into the bucket
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Top

WriteMessage (IHttpRequest)

Purpose: Builds a complete HTTP request (ie headers, protocol etc)
for the data in this object.
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest
Top

WriteRequestLine (IHttpRequest)

Purpose: Writes the request line into the bucket
Parameters:
poRequest OpenEdge.Net.HTTP.IHttpRequest


Constructor Detail
Top

DefaultRequestFilter ()

/* Default constructor


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15