public abstract class RequestEvent extends EventObject
source
Modifier | Constructor and Description |
---|---|
protected |
RequestEvent(Object source,
RequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
RequestContext |
getRequestContext()
Retrieves the
RequestContext for the event. |
boolean |
isHttp()
Retrieves a flag indicating whether the event's request, available from the
request
context , is an HttpServletRequest . |
getSource, toString
protected RequestEvent(@Nonnull Object source, @Nonnull RequestContext requestContext)
@Nonnull public RequestContext getRequestContext()
RequestContext
for the event.public boolean isHttp()
request
context
, is an HttpServletRequest
.true
if the request is an HttpServletRequest
; otherwise, false
Copyright © 2019 Atlassian. All rights reserved.