Update APISession.java

added JavaDoc