org.apache.jetspeed.ajax
Class AJAXRequestImpl

java.lang.Object
  extended by org.apache.jetspeed.ajax.AJAXRequestImpl
All Implemented Interfaces:
org.apache.jetspeed.ajax.AJAXRequest

public class AJAXRequestImpl
extends Object
implements org.apache.jetspeed.ajax.AJAXRequest

Request used for AJAX services.

Author:
Scott T. Weaver

Nested Class Summary
 class AJAXRequestImpl.AJAXParameter
           
 
Field Summary
static String AJAX_PARAM_PREFIX
           
static String AJAX_SERVICE
           
private  List ajaxParams
           
private  javax.servlet.ServletContext context
           
private  String methodName
           
private  javax.servlet.http.HttpServletRequest request
           
private  javax.servlet.http.HttpServletResponse response
           
private  String serviceName
           
 
Constructor Summary
AJAXRequestImpl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context)
           
 
Method Summary
 javax.servlet.ServletContext getContext()
           
 String getMethodName()
           
 List getParameters()
           
 String getServiceName()
           
 javax.servlet.http.HttpServletRequest getServletRequest()
           
 javax.servlet.http.HttpServletResponse getServletResponse()
           
protected  List parseRequestArguments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AJAX_SERVICE

public static final String AJAX_SERVICE
See Also:
Constant Field Values

AJAX_PARAM_PREFIX

public static final String AJAX_PARAM_PREFIX
See Also:
Constant Field Values

request

private final javax.servlet.http.HttpServletRequest request

ajaxParams

private List ajaxParams

serviceName

private final String serviceName

methodName

private final String methodName

response

private javax.servlet.http.HttpServletResponse response

context

private javax.servlet.ServletContext context
Constructor Detail

AJAXRequestImpl

public AJAXRequestImpl(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response,
                       javax.servlet.ServletContext context)
                throws org.apache.jetspeed.ajax.AJAXException
Throws:
org.apache.jetspeed.ajax.AJAXException
Method Detail

getParameters

public List getParameters()
Specified by:
getParameters in interface org.apache.jetspeed.ajax.AJAXRequest

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface org.apache.jetspeed.ajax.AJAXRequest

parseRequestArguments

protected List parseRequestArguments()
                              throws org.apache.jetspeed.ajax.AJAXException
Throws:
org.apache.jetspeed.ajax.AJAXException

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface org.apache.jetspeed.ajax.AJAXRequest

getContext

public javax.servlet.ServletContext getContext()
Specified by:
getContext in interface org.apache.jetspeed.ajax.AJAXRequest

getServletRequest

public javax.servlet.http.HttpServletRequest getServletRequest()
Specified by:
getServletRequest in interface org.apache.jetspeed.ajax.AJAXRequest

getServletResponse

public javax.servlet.http.HttpServletResponse getServletResponse()
Specified by:
getServletResponse in interface org.apache.jetspeed.ajax.AJAXRequest


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.