public class RestLocalClient extends WebClient
WebClient.SCHEMA_MODE, WebClient.SCREEN_TYPE| Modifier and Type | Field and Description | 
|---|---|
HttpClient | 
currentClient  | 
COOKIE_KNOWN_DEVICE, COOKIE_LOGIN_ID, COOKIE_PERSON_ID, COOKIE_REMEMBER_SESSION, CURRENT_SESSION, ENVIROMENT_AREA, ENVIROMENT_DISABLE_BLOCK_BROWSER, ENVIRONMENT_SWITCH_MODE, HEADER_CONTENT_TYPE, HEADER_REFERER, HEADER_USER_AGENT, MAGIC_NUMBER, OPENER_URL, PARAMETER_FORCE_COMPRESSION, REMEMBER_ME_MAX_AGE, SESSION_LOGIN_UID, TEMP_FILE_PREFIX, WINDOW_MODEBY_PASS_CHECKS, CONTENT_ENCODING_BASE64, CONTENT_ENCODING_DEFLATE, CONTENT_ENCODING_GZIP, cookiesWritten, currentDB, currentDS, dTable, HEADER_ACCEPT_ENCODING, HEADER_CONTENT_ENCODING, HEADER_CONTENT_TRANSFER_ENCODING, request, servletPath, X_FORWARDED_PROTO| Constructor and Description | 
|---|
RestLocalClient(Login login,
               Method method,
               HttpClient currentClient,
               Session session,
               java.net.URL url)  | 
| Modifier and Type | Method and Description | 
|---|---|
VirtualDB | 
getBaseDatabase()
The layer for this client 
 | 
java.lang.String | 
getHeader(java.lang.String name)
Returns the request header parameter. 
 | 
Login | 
getLogin()
Get's the client's login 
 | 
java.lang.String | 
getMethod()  | 
java.io.BufferedReader | 
getReader()  | 
java.lang.String | 
getRequestString()  | 
Session | 
getSession()
get the session 
 | 
java.net.URL | 
getUrl()  | 
boolean | 
isLoggedIn()
is the client logged in ? 
 | 
boolean | 
isRestThrottleSupported()
we don't want to throttle local ReST calls 
 | 
void | 
setHeader(java.lang.String key,
         java.lang.String header)  | 
void | 
setIsRestThrottleSupported(boolean isRestThrottleSupported)
set true to do the ReST throttling 
 | 
addCookies, addUpload, calculateSwitchMode, checkAuthorization, checkDeviceValidation, checkOTP, checkRedirect, cleanUp, doSetupDatabase, doSetupDatabase, doSimpleLogin, getAllowCORS, getBrowser, getCalculatedWindowMode, getClientIPAddress, getCurrentCMSPage, getDefaultScreenSize, getHttpSessionId, getMagicNumber, getNewPage, getNewPage, getRawParameter, getReadOnlyDataSource, getSessionAttribute, getUntrustedLoginID, getUploads, getWindowMode, handleCORS, hasLoginCookie, isCleanupFiles, isDisplayOnly, isMDI, isRememberMeInTrustedZone, isSupportedBrowser, login, logout, makeBuilder, makeForm, makePage, outstandingCookieWrite, readSessionAttribute, redirectLogin, rememberMeLogin, removeSessionAttribute, send, send, setCleanupFiles, setCurrentCMSPage, setDisplayOnly, setParameter, supportsGWT, validate, writeSessionAttributeclearParameters, clickedButton, currentClient, dispose, getCallURL, getCallURL, getCookies, getCookieValue, getDatabase, getDefaultSignature, getDS, getFullRequestString, getHostname, getHttpSession, getJoinRequestCount, getLayerId, getMessageID, getParameter, getParameter, getParameterInt, getParameterLong, getParameterNames, getPathInfo, getProtocolAndHostname, getReportMaxSortRows, getRequest, getRequestText, getServletPath, getSessionAttribute, getStartAfterFullLoadTime, getStartTime, getUniqueRequestCount, hasCookie, hasParameter, isDisposed, isHTTPS, isSecure, isUseCapitalParamNames, joinCommand, logException, logTime, makeServerName, makeThreadName, paused, putCookie, removeCookie, restoreClient, resumed, sendData, setDS, setPathInfo, setServletPath, setSessionAttribute, setUseCapitalParamNames, terminated, toString, writtenCookiespublic final HttpClient currentClient
public RestLocalClient(@Nonnull
                       Login login,
                       @Nonnull
                       Method method,
                       @Nullable
                       HttpClient currentClient,
                       Session session,
                       java.net.URL url)
                throws java.lang.Exception
java.lang.Exception@CheckReturnValue
 @Nonnull
public java.io.BufferedReader getReader()
                                                             throws java.io.IOException
@CheckReturnValue @Nonnull public java.lang.String getRequestString()
getRequestString in class HttpClientpublic Session getSession()
WebClientgetSession in class WebClient@Nonnull public VirtualDB getBaseDatabase()
WebClientgetBaseDatabase in class WebClient@Nonnull public Login getLogin()
WebClientpublic boolean isLoggedIn()
WebClientisLoggedIn in class WebClientpublic void setHeader(@Nonnull
                      java.lang.String key,
                      @Nullable
                      java.lang.String header)
public java.lang.String getHeader(java.lang.String name)
HttpClientgetHeader in class HttpClientname - The header name.public java.net.URL getUrl()
public void setIsRestThrottleSupported(boolean isRestThrottleSupported)
isRestThrottleSupported - public boolean isRestThrottleSupported()
isRestThrottleSupported in class HttpClientstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.