Class ServiceCaller.ParameterizedHttpRequest
java.lang.Object
com.invirgance.convirgance.web.http.HttpRequest
com.invirgance.convirgance.web.servlet.ServiceCaller.ParameterizedHttpRequest
- Enclosing class:
ServiceCaller
-
Constructor Summary
ConstructorsConstructorDescriptionParameterizedHttpRequest(jakarta.servlet.http.HttpServletRequest request, String path, com.invirgance.convirgance.json.JSONObject parameters) -
Method Summary
Modifier and TypeMethodDescriptiongetParameter(String name) Returns the value of the parameter.Returns a map representing the request information.Returns the parameters names.String[]getParameterValues(String name) Returns the values for the parameter with the provided name.Returns the full request path, including the protocol but not the query string.Methods inherited from class com.invirgance.convirgance.web.http.HttpRequest
call, forward, getCharacterEncoding, getContentType, getContextPath, getDateHeader, getFileByPath, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddress, getLocale, getLocales, getLocalName, getLocalPort, getLongHeader, getMethod, getPathInfo, getPathTranslated, getProtocol, getQueryString, getRemoteAddress, getRemoteHost, getRemotePort, getRequestURL, getScheme, getServerName, getServerPort, getServletPath, getSession, include
-
Constructor Details
-
ParameterizedHttpRequest
public ParameterizedHttpRequest(jakarta.servlet.http.HttpServletRequest request, String path, com.invirgance.convirgance.json.JSONObject parameters)
-
-
Method Details
-
getParameter
Description copied from class:HttpRequestReturns the value of the parameter.- Overrides:
getParameterin classHttpRequest- Parameters:
name- Parameter name.- Returns:
- The value.
-
getParameterMap
Description copied from class:HttpRequestReturns a map representing the request information.- Overrides:
getParameterMapin classHttpRequest- Returns:
- The request.
-
getParameterNames
Description copied from class:HttpRequestReturns the parameters names.- Overrides:
getParameterNamesin classHttpRequest- Returns:
- An
Iterableof the parameter names.
-
getParameterValues
Description copied from class:HttpRequestReturns the values for the parameter with the provided name.- Overrides:
getParameterValuesin classHttpRequest- Parameters:
name- The parameter name.- Returns:
- An array containing the values.
-
getRequestURI
Description copied from class:HttpRequestReturns the full request path, including the protocol but not the query string.- Overrides:
getRequestURIin classHttpRequest- Returns:
- The URI.
-