Class UsersController
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.controllers.UsersController
-
public class UsersController extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected FodApiConnectionapiConnectionprotected StringcorrelationIdprotected PrintStreamlogger
-
Constructor Summary
Constructors Constructor Description UsersController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCorrelationId()Result<CurrentUserSessionResponse>getCurrentUserSession()protected voidprintln(String log)protected voidprintStackTrace(Exception e)
-
-
-
Field Detail
-
apiConnection
protected FodApiConnection apiConnection
-
correlationId
protected String correlationId
-
logger
protected PrintStream logger
-
-
Constructor Detail
-
UsersController
public UsersController(FodApiConnection apiConnection, PrintStream logger, String correlationId)
-
-
Method Detail
-
getCurrentUserSession
public Result<CurrentUserSessionResponse> getCurrentUserSession() throws IOException
- Throws:
IOException
-
getCorrelationId
protected String getCorrelationId()
-
println
protected void println(String log)
-
printStackTrace
protected void printStackTrace(Exception e)
-
-