Namespace: Consultingwerk.OERA.RestAdapter
Class 
RestServletRequestParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:RestServletRequestParser
Purpose:Parses a CHARACTER/LONGCHAR String with the servlet request
info into a RestServletRequest< instance.
instance.
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jan 18 17:02:20 CET 2015



Top Method Summary
Options Name Purpose
+ Consultingwerk.Framework.Collections.CharacterDictionary ParseQueryString (character) Parses the given QueryString into a CharacterDictionary
+ Consultingwerk.Framework.Collections.CharacterDictionary ParseQueryString (RestServletRequest) Parses the QueryString of the REST servlet request into a CharacterDictionary
+ Consultingwerk.OERA.RestAdapter.RestServletRequest ParseServletRequest (longchar) Parses a CHARACTER/LONGCHAR String with the servlet request info into a RestServletRequest instance.


Method Detail
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterDictionary ParseQueryString (character)

Purpose: Parses the given QueryString into a CharacterDictionary
Notes: Currently only processes & and = Does not (yet) convert url encoded
characters

Parameters:
pcQueryString CHARACTER
The query string to parse
Returns Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterDictionary with the query name/value pairs
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterDictionary ParseQueryString (RestServletRequest)

Purpose: Parses the QueryString of the REST servlet request into a CharacterDictionary
Notes: Currently only processes & and = Does not (yet) convert url encoded
characters

Parameters:
poRequest Consultingwerk.OERA.RestAdapter.RestServletRequest
The RestServletRequest to parse the QueryString from
Returns Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterDictionary with the query name/value pairs
Top

PUBLIC Consultingwerk.OERA.RestAdapter.RestServletRequest ParseServletRequest (longchar)

Purpose: Parses a CHARACTER/LONGCHAR String with the servlet request
info into a RestServletRequest instance.
Notes:

Parameters:
pcRequest LONGCHAR
The servlet request info as received as a mapped input parameter from the REST Adapter
Returns Consultingwerk.OERA.RestAdapter.RestServletRequest
The RestServletRequest with the data for the request


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:14:49