站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 .net API Documentation 英文版文档

FlashAxisServiceServlet.FilteredHttpServletRequest (JBoss.Net API) - JBoss 3.2.7 .net API Documentation 英文版文档


org.jboss.net.axis.server
Class FlashAxisServiceServlet.FilteredHttpServletRequest

java.lang.Object
  extended byjavax.servlet.ServletRequestWrapper
      extended byjavax.servlet.http.HttpServletRequestWrapper
          extended byorg.jboss.net.axis.server.FlashAxisServiceServlet.FilteredHttpServletRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
Enclosing class:
FlashAxisServiceServlet

public class FlashAxisServiceServlet.FilteredHttpServletRequest
extends javax.servlet.http.HttpServletRequestWrapper

This is a spoofing class whose sole purpose is to make it appear that the HTTP "SOAPAction" parameter is actually an HTTP Header attribute.


Field Summary
protected  String soapAction
          we keep the parameter here
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
FlashAxisServiceServlet.FilteredHttpServletRequest(javax.servlet.http.HttpServletRequest req)
          Constructs an instance with the soapAction set to the value of the HTTP "SOAPAction" parameter.
 
Method Summary
 String getHeader(String name)
          If there is a SOAPAction HTTP parameter, return that value instead of NULL.
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

soapAction

protected String soapAction
we keep the parameter here

Constructor Detail

FlashAxisServiceServlet.FilteredHttpServletRequest

public FlashAxisServiceServlet.FilteredHttpServletRequest(javax.servlet.http.HttpServletRequest req)
                                                   throws IllegalArgumentException
Constructs an instance with the soapAction set to the value of the HTTP "SOAPAction" parameter.

Parameters:
req - - HttpServletRequest that is getting spoofed
Throws:
IllegalArgumentException - is thrown if either the request already had a SOAPAction header or if there is no SOAPAction parameter.
Method Detail

getHeader

public String getHeader(String name)
If there is a SOAPAction HTTP parameter, return that value instead of NULL. Otherwise, default to the base class behavior.

Parameters:
name - - a String specifying the header name


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.