Class RequestEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.request.RequestEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RequestEndedEvent,- RequestStartedEvent
A base class for constructing events related to requests (i.e. HTTP and SSH requests).
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedRequestEvent(Object source, RequestContext requestContext) 
- 
Method SummaryModifier and TypeMethodDescriptionRetrieves theRequestContextfor the event.booleanisHttp()Retrieves a flag indicating whether the event's request, available from therequest context, is anHttpServletRequest.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
RequestEvent
 
- 
- 
Method Details- 
getRequestContextRetrieves theRequestContextfor the event.- Returns:
- the request
 
- 
isHttppublic boolean isHttp()Retrieves a flag indicating whether the event's request, available from therequest context, is anHttpServletRequest.- Returns:
- trueif the request is an- HttpServletRequest; otherwise,- false
 
 
-