Lightweight Bartering Grid

lbg.user.server
Class UAServerRequestFactory

java.lang.Object
  extended by lbg.user.server.UAServerRequestFactory

public class UAServerRequestFactory
extends java.lang.Object

A UAServerRequestFactory instantiates the appropriate UAServerRequest implementation given a request header.

Currently supported headers:

Author:
Gerard Dethier

Constructor Summary
UAServerRequestFactory()
           
 
Method Summary
static UAServerRequest getRequestObject(java.lang.String header)
          Given a header, an instance of a Request implementation is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UAServerRequestFactory

public UAServerRequestFactory()
Method Detail

getRequestObject

public static UAServerRequest getRequestObject(java.lang.String header)
Given a header, an instance of a Request implementation is returned.

Parameters:
header - The header of the request.
Returns:
An instance of a Request implementation, or null if no implementation is available.

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.