Namespace: OpenEdge.Net.HTTP
Type: 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



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