com.hp.hpl.deli
Class ProcessHttpRequest

java.lang.Object
  extended bycom.hp.hpl.deli.ProcessHttpRequest

class ProcessHttpRequest
extends java.lang.Object

This class processes HTTP requests to produce a list of profile references and profile-diffs. It will process CC/PP requests using HTTP-ex, UAProf requests using WSP, UAProf using W-HTTP, and the Nokia emulators that use a variation on W-HTTP.

Author:
"Mark H. Butler (mark-h.butler@hp.com)"

Field Summary
protected  java.util.Vector diffVector
           
protected  java.util.Vector referenceVector
           
 
Constructor Summary
(package private) ProcessHttpRequest(javax.servlet.http.HttpServletRequest request)
          This method processes the HTTP request to retrieve the profile references, profile-diff-digests and profile-diffs.
 
Method Summary
private  java.lang.String getNumericalNamespace(java.lang.String httpex)
          This function retrieves a numerical namespace from a request header field
private  boolean supportLocalProfiles(javax.servlet.http.HttpServletRequest request)
          This method provides support for local profiles.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

referenceVector

protected java.util.Vector referenceVector

diffVector

protected java.util.Vector diffVector
Constructor Detail

ProcessHttpRequest

ProcessHttpRequest(javax.servlet.http.HttpServletRequest request)
This method processes the HTTP request to retrieve the profile references, profile-diff-digests and profile-diffs. It is UAProf specific.

Parameters:
request - The HTTP request.
Method Detail

supportLocalProfiles

private boolean supportLocalProfiles(javax.servlet.http.HttpServletRequest request)
                              throws java.lang.Exception
This method provides support for local profiles.

Parameters:
request - The HTTP Request
Throws:
java.lang.Exception

getNumericalNamespace

private java.lang.String getNumericalNamespace(java.lang.String httpex)
This function retrieves a numerical namespace from a request header field

Returns:
A vector of profile diffs.