java.lang.Object | ||||
↳ | java.util.EventObject | |||
↳ | org.springframework.context.ApplicationEvent | |||
↳ | org.springframework.web.context.support.RequestHandledEvent | |||
↳ | org.springframework.web.context.support.ServletRequestHandledEvent |
Servlet-specific subclass of RequestHandledEvent, adding servlet-specific context information.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.EventObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ServletRequestHandledEvent.
| |||||||||||
Create a new ServletRequestHandledEvent.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the IP address that the request came from.
| |||||||||||
Return a full description of this event, involving
all available context data.
| |||||||||||
Return the HTTP method of the request (usually GET or POST).
| |||||||||||
Return the URL of the request.
| |||||||||||
Return the name of the servlet that handled the request.
| |||||||||||
Return a short description of this event, only involving
the most important context data.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.web.context.support.RequestHandledEvent
| |||||||||||
From class
org.springframework.context.ApplicationEvent
| |||||||||||
From class
java.util.EventObject
| |||||||||||
From class
java.lang.Object
|
Create a new ServletRequestHandledEvent.
source | the component that published the event |
---|---|
requestUrl | the URL of the request |
clientAddress | the IP address that the request came from |
method | the HTTP method of the request (usually GET or POST) |
servletName | the name of the servlet that handled the request |
sessionId | the id of the HTTP session, if any |
userName | the name of the user that was associated with the request, if any (usually the UserPrincipal) |
processingTimeMillis | the processing time of the request in milliseconds |
Create a new ServletRequestHandledEvent.
source | the component that published the event |
---|---|
requestUrl | the URL of the request |
clientAddress | the IP address that the request came from |
method | the HTTP method of the request (usually GET or POST) |
servletName | the name of the servlet that handled the request |
sessionId | the id of the HTTP session, if any |
userName | the name of the user that was associated with the request, if any (usually the UserPrincipal) |
processingTimeMillis | the processing time of the request in milliseconds |
failureCause | the cause of failure, if any |
Return a full description of this event, involving all available context data.
Return a short description of this event, only involving the most important context data.