Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.intercept.web
Class FilterInvocation  view FilterInvocation download FilterInvocation.java

java.lang.Object
  extended byorg.acegisecurity.intercept.web.FilterInvocation

public class FilterInvocation
extends java.lang.Object

Holds objects associated with a HTTP filter.

Guarantees the request and response are instances of HttpServletRequest and HttpServletResponse, and that there are no null objects.

Required so that security system classes can obtain access to the filter environment, as well as the request and response.

Version:
$Id: FilterInvocation.java,v 1.6 2005/11/17 00:55:50 benalex Exp $

Field Summary
private  javax.servlet.FilterChain chain
           
private  javax.servlet.ServletRequest request
           
private  javax.servlet.ServletResponse response
           
 
Constructor Summary
protected FilterInvocation()
           
  FilterInvocation(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 
Method Summary
 javax.servlet.FilterChain getChain()
           
 java.lang.String getFullRequestUrl()
          Indicates the URL that the user agent used for this request.
 javax.servlet.http.HttpServletRequest getHttpRequest()
           
 javax.servlet.http.HttpServletResponse getHttpResponse()
           
 javax.servlet.ServletRequest getRequest()
           
 java.lang.String getRequestUrl()
           
 javax.servlet.ServletResponse getResponse()
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

chain

private javax.servlet.FilterChain chain

request

private javax.servlet.ServletRequest request

response

private javax.servlet.ServletResponse response
Constructor Detail

FilterInvocation

public FilterInvocation(javax.servlet.ServletRequest request,
                        javax.servlet.ServletResponse response,
                        javax.servlet.FilterChain chain)

FilterInvocation

protected FilterInvocation()
Method Detail

getChain

public javax.servlet.FilterChain getChain()

getFullRequestUrl

public java.lang.String getFullRequestUrl()
Indicates the URL that the user agent used for this request.

The returned URL does not reflect the port number determined from a org.acegisecurity.util.PortResolver.


getHttpRequest

public javax.servlet.http.HttpServletRequest getHttpRequest()

getHttpResponse

public javax.servlet.http.HttpServletResponse getHttpResponse()

getRequest

public javax.servlet.ServletRequest getRequest()

getRequestUrl

public java.lang.String getRequestUrl()

getResponse

public javax.servlet.ServletResponse getResponse()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).