public abstract class BaseIncomingData extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ResponseFormat |
format |
protected String |
password |
protected String |
userId |
| Constructor and Description |
|---|
BaseIncomingData(String userId,
String password,
String formatParam,
HttpUsersManagement httpUsersManagement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkUsernameAndPassword(String userId,
String password,
HttpUsersManagement httpUsersManagement) |
ResponseFormat |
getFormat() |
static ResponseFormat |
getFormat(javax.servlet.http.HttpServletRequest request) |
static ResponseFormat |
getFormat(javax.slee.facilities.Tracer tracer,
javax.servlet.http.HttpServletRequest request) |
String |
getUserId() |
boolean |
isEmptyOrNull(String toCheck) |
void |
setUserId(String userId) |
protected String userId
protected String password
protected ResponseFormat format
public BaseIncomingData(String userId, String password, String formatParam, HttpUsersManagement httpUsersManagement) throws UnauthorizedException
UnauthorizedExceptionpublic boolean isEmptyOrNull(String toCheck)
public boolean checkUsernameAndPassword(String userId, String password, HttpUsersManagement httpUsersManagement)
public static ResponseFormat getFormat(javax.slee.facilities.Tracer tracer, javax.servlet.http.HttpServletRequest request) throws HttpApiException
HttpApiExceptionpublic static ResponseFormat getFormat(javax.servlet.http.HttpServletRequest request)
public void setUserId(String userId)
public String getUserId()
public ResponseFormat getFormat()
Copyright © 2016. All Rights Reserved.