Namespace: OpenEdge.Net.HTTP
Class
ContentTypeHeader
Parent classes:
Inherits: OpenEdge.Net.HTTP.HttpHeader
Implements: OpenEdge.Logging.ISupportLogging

/* *************************************************************************************************************************
Copyright (c) 2016-2019 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ContentTypeHeader
Author(s):pjudge
Created:Thu Dec 10 13:40:24 EST 2015
/* The Content-Type header should start with one of these types OR X-<something>




Method Summary
Options Name Purpose
LOGICAL SetParameterValue (character, character) /** Saves a parameter value for a header. @param character (mandatory) The name of the parameter value to retrieve @param character (mandatory) The parameter value; blank/empty otherwise @return logical TRUE when the parameter was replaced/previously existed. */
Validate (character) /* Validates a header value. Should throw an error if the value is not valid. @param character The (prospective) header value */

Constructor Summary
Options Name Purpose
ContentTypeHeader (character) /* Constructor @param character A non-empty header name */
ContentTypeHeader (character, character) /* Constructor @param character A non-empty header name @param character A valid header value */

Property Summary
Options Name Purpose
OpenEdge.Logging.ILogWriter Logger


Method Detail
Top

LOGICAL SetParameterValue (character, character)

Purpose: Saves a parameter value for a header.
Parameters:
pcParamName CHARACTER
pcParamValue CHARACTER
Returns LOGICAL
logical TRUE when the parameter was replaced/previously existed.
Top

Validate (character)

/* Validates a header value. Should throw an error if the value
is not valid.
Parameters:
pcValue CHARACTER


Constructor Detail
Top

ContentTypeHeader (character)

/* Constructor
Parameters:
pcName CHARACTER
Top

ContentTypeHeader (character, character)

/* Constructor
Parameters:
pcName CHARACTER
pcValue CHARACTER


Property Detail
Top

OpenEdge.Logging.ILogWriter Logger

Returns OpenEdge.Logging.ILogWriter


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15