org.glassfish.examples.http
Class RequestProcessor

java.lang.Object
  extended by org.glassfish.examples.http.RequestProcessor

@PerLookup
public class RequestProcessor
extends Object

This is a class that processes an event as it comes. In this implementation it just gets an HttpEventReceiver and would possibly do something with it. The HttpEventReciever of course has the information from the latest HttpRequest.

Author:
jwells

Constructor Summary
RequestProcessor()
           
 
Method Summary
 HttpEventReceiver processHttpRequest()
          This implementation processes the HttpRequest and returns its HttpEventReceiver (mainly so that it can be properly tested)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestProcessor

public RequestProcessor()
Method Detail

processHttpRequest

public HttpEventReceiver processHttpRequest()
This implementation processes the HttpRequest and returns its HttpEventReceiver (mainly so that it can be properly tested)

Returns:
The HttpEventReceiver for this request


Copyright © 2013 Oracle Corporation. All Rights Reserved.