|
Method DetailRequest clean() Returns this request with clean mode enabled which removes all non ASCII characters and any control characters. Returns: Request Since: 12-13-2022 clearSessionData() Deletes all data objects set by setSessionData. Since: 04-18-2012 clearSessionValues() Deletes all values set by setSessionValue. Since: 06-18-2020 deleteCookie(String name) Deletes the specified cookie.
Parameters:
Since: 07-11-2008 deleteCookies() Deletes all cookies. Since: 07-11-2008 String get(String key) Returns the value associated with key if it exists, null otherwise. Shortcut for getData().getValue(key)
Parameters:
Returns: String Since: 08-30-2018 String getAjaxTarget() If set, returns the ajax-target attribute of the request. Returns: String Since: 12-20-2017 String getCookie(String name) Returns the specified cookie or null if no cookie exists.
Parameters:
Returns: String Since: 07-11-2008 Data getData() Returns the Data object for this request. This will contain all the form field values posted from the client. Returns: Data Since: 07-11-2008 String getDomain() Returns the domain of the http request. If the URL is http://www.mysite.com/information/subject/page.html this returns www.mysite.com. Returns: String Since: 12-22-2010 String getEncryptedValue(String key) Returns the decrypted value for the specified input field. Returns null if no value exists or if the parameter is not encrypted.
Parameters:
Returns: String Since: 09-17-2009 String[] getEncryptedValues(String key) Returns an array of decrypted values for the specified input field. Returns null if no values exist or if the parameter is not encrypted.
Parameters:
Returns: String[] Since: 09-17-2009 String getHTML(String name) Returns the html content from the specified input field. Limit 5000 characters. Name limit is 80 characters.
Parameters:
Returns: String Since: 08-09-2010 String getHeader(String header) Returns the specified header
Parameters:
Returns: String Since: 11-12-2018 PacketDataList getHeaders() Returns all the headers as a datalist Returns: PacketDataList DataList Name: headers DataList Fields: name, value Since: 01-10-2020 Upload getNextUpload(String name) Returns the Upload object containing user supplied upload content for clouds that support it.
Parameters:
Returns: Upload Since: 06-24-2024 String getPage() Returns the path and page of the http request. If the URL is http://www.mysite.com/information/subject/page.html this returns page.html. Returns: String Since: 12-02-2009 String[] getParameterNames() Returns an array of all parameters sent from the client. Returns: String[] Since: 07-11-2008 String[] getParameterValues(String name) Returns an array of all values of the specified parameter.
Parameters:
Returns: String[] Since: 07-11-2008 String getPath() Returns the path of the http request. If the URL is http://www.mysite.com/information/subject/page.html this returns information/subject. Returns: String Since: 12-02-2009 String getReferrer() Returns the hostname of the referrer of the request. Returns: String Since: 12-09-2009 String getRequestMethod() Returns the http method. Returns: String Since: 01-10-2020 String getRequestUrl() Returns the url requested (which may not be the same as that configured in the Pal, if you are using an alias). Returns: String Since: 12-09-2009 Data getSessionData(String key) Returns the data stored in the session. Returns null if no data exists with the specified key.
Parameters:
Returns: Data Since: 04-18-2012 String getSessionValue(String key) Returns the specified value it it exists.
Parameters:
Returns: String Since: 12-02-2009 String getSubDomain() Returns the subdomain of the http request host. If the URL is http://www.mysite.com/information/subject/page.html this returns www. Returns: String Since: 12-22-2010 String getValue(String key) Returns the value associated with key if it exists, null otherwise. Shortcut for getData().getValue(key)
Parameters:
Returns: String Since: 07-11-2008 String getXML(String name, String tag, String id) Returns the xhtml content from the specified input field. Tag name to wrap the content with and ID are optional.
Parameters:
Returns: String Since: 05-12-2009 boolean isAjax() Returns true if the request was made from an ajax call. Note that the ajax.js resource sends a header 'nxAjax'=true. If you use another AJAX library you must send this header for this method to return true. Returns: boolean Since: 09-24-2010 boolean isPost() Returns true if the request came from an HTTP POST (as opposed to GET). Returns: boolean Since: 05-21-2009 String readBody() Reads the body of the request. Returns null if there is no body or the body exceeds the maximum upload allowed by the activation key. Returns: String Since: 11-12-2018 setCookie(String name, String value, boolean secure, int maxAge) Sets the specified cookie. Set maxAge=0 to create a session cookie. maxAge is in seconds from now.
Parameters:
Since: 07-11-2008 setSessionData(String key, Data data) Stores the data in the session. Max size allowed is 10K and max entries per session is 2.
Parameters:
Since: 04-18-2012 setSessionValue(String key, String value) Sets the specified session value. Use null for the value to remove it from the session.
Parameters:
Since: 12-02-2009 String toString() Returns a description of this object. Returns: String Since: 07-11-2008 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |