Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.savvasdalkitsis.jtmdb;
 
This class represents a session with Tmdb used in POST methods.

Author(s):
Savvas Dalkitsis
 
public class Session implements Serializable {
	private static final long serialVersionUID = -6886965265622351865L;

The user name.
	private String userName;
The session key.
	private String session;

Gets the user name.

Returns:
The user name.
	public String getUserName() {
		return ;
	}

Gets the session key.

Returns:
The session key.
	public String getSession() {
		return ;
	}

Creates a session with the provided user name and key.

Parameters:
userName The user name.
session The session key.
	public Session(String userNameString session) {
		this. = userName;
		this. = session;
	}
New to GrepCode? Check out our FAQ X