public class RequestEvent extends RequestContextAwareEvent
Event triggered when CKFinder receives an HTTP request, before any further processing logic.
If any of the listeners for this event sets the ResponseEntity instance,
all the standard processing logic is skipped and the HTTP response built using
given ResponseEntity is returned immediately.
request, responsesource| Constructor and Description |
|---|
RequestEvent(Object source,
HttpServletRequest request,
HttpServletResponse response)
Constructs the event.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseEntity |
getResponseEntity() |
RequestEvent |
setResponseEntity(ResponseEntity responseEntity)
Sets response entity for this event.
|
getRequest, getResponsegetTimestampgetSource, toStringpublic RequestEvent(Object source, HttpServletRequest request, HttpServletResponse response)
source - the object on which the event initially occurredrequest - current HTTP requestresponse - current HTTP responsepublic ResponseEntity getResponseEntity()
public RequestEvent setResponseEntity(ResponseEntity responseEntity)
responseEntity - response entity objectCopyright © 2007 – 2019 CKSource - Frederico Knabben. All rights reserved.