Package org.broadleafcommerce.common
Class RequestDTOImpl
java.lang.Object
org.broadleafcommerce.common.RequestDTOImpl
- All Implemented Interfaces:
Serializable,RequestDTO
Created by bpolster.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRequestDTOImpl(jakarta.servlet.http.HttpServletRequest request) RequestDTOImpl(org.springframework.web.context.request.WebRequest request) -
Method Summary
Modifier and TypeMethodDescriptionBy default, converts the properties onisSecure()voidsetFullUrlWithQueryString(String fullUrlWithQueryString) voidsetRequestContextAttributes(Map<String, String> requestContextAttributes) voidsetRequestURI(String requestURI) void
-
Constructor Details
-
RequestDTOImpl
public RequestDTOImpl() -
RequestDTOImpl
public RequestDTOImpl(jakarta.servlet.http.HttpServletRequest request) -
RequestDTOImpl
public RequestDTOImpl(org.springframework.web.context.request.WebRequest request)
-
-
Method Details
-
getRequestURI
- Specified by:
getRequestURIin interfaceRequestDTO- Returns:
- returns the request not including the protocol, domain, or query string
-
setRequestURI
-
getFullUrLWithQueryString
- Specified by:
getFullUrLWithQueryStringin interfaceRequestDTO- Returns:
- Returns the URL and parameters.
-
isSecure
- Specified by:
isSecurein interfaceRequestDTO- Returns:
- true if this request came in through HTTPS
-
getRequestContextAttributes
- Specified by:
getRequestContextAttributesin interfaceRequestDTO
-
setRequestContextAttributes
- Specified by:
setRequestContextAttributesin interfaceRequestDTO
-
getFullUrlWithQueryString
-
setFullUrlWithQueryString
-
getSecure
-
setSecure
-
getProperties
Description copied from interface:RequestDTOBy default, converts the properties on- Specified by:
getPropertiesin interfaceRequestDTO- Returns:
-