From 27d42f271d6b5d069800626596133ab50c163aef Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 30 Dec 2020 12:38:48 +0000 Subject: [PATCH] readme ergaenzt --- src/java/de/uhilger/um/api/Api.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/java/de/uhilger/um/api/Api.java b/src/java/de/uhilger/um/api/Api.java index fed470c..45c16fb 100644 --- a/src/java/de/uhilger/um/api/Api.java +++ b/src/java/de/uhilger/um/api/Api.java @@ -20,6 +20,7 @@ import de.uhilger.baselink.PersistenceManager; import de.uhilger.baselink.Record; +import de.uhilger.transit.Access; import de.uhilger.transit.web.RequestKontext; import de.uhilger.transit.web.WebKontext; import static de.uhilger.um.api.UserMgr.UM_DB; @@ -58,11 +59,13 @@ /* ------------- Implementierung WebKontext ------------- */ @Override + @Access(type = Access.Type.RESTRICT) public ServletContext getServletContext() { return ctx; } @Override + @Access(type = Access.Type.RESTRICT) public void setServletContext(ServletContext servletContext) { this.ctx = servletContext; } @@ -70,11 +73,13 @@ /* ------------- Implementierung RequestKontext ------------- */ @Override + @Access(type = Access.Type.RESTRICT) public HttpServletRequest getRequest() { return request; } @Override + @Access(type = Access.Type.RESTRICT) public void setRequest(HttpServletRequest r) { this.request = r; } -- Gitblit v1.9.3