public class RemoveSessionLanguageInterceptor extends java.lang.Object implements RemoveInterceptor
InterceptorException is thrown. Current language for session is retrieved by
SessionService.getAttribute(String) with key "language".| Constructor and Description |
|---|
RemoveSessionLanguageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
setSessionService(SessionService sessionService) |
public void setSessionService(SessionService sessionService)
sessionService - the sessionService to setpublic void onRemove(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptormodel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorCopyright © 2018 SAP SE. All Rights Reserved.