org.broadleafcommerce.common
Class RequestDTOImpl
java.lang.Object
org.broadleafcommerce.common.RequestDTOImpl
- All Implemented Interfaces:
- Serializable, RequestDTO
public class RequestDTOImpl
- extends Object
- implements RequestDTO, Serializable
Created by bpolster.
- See Also:
- Serialized Form
|
Constructor Summary |
RequestDTOImpl(javax.servlet.http.HttpServletRequest request)
|
RequestDTOImpl(org.springframework.web.context.request.WebRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestDTOImpl
public RequestDTOImpl(javax.servlet.http.HttpServletRequest request)
RequestDTOImpl
public RequestDTOImpl(org.springframework.web.context.request.WebRequest request)
getRequestURI
public String getRequestURI()
- Specified by:
getRequestURI in interface RequestDTO
- Returns:
- returns the request not including the protocol, domain, or query string
getFullUrLWithQueryString
public String getFullUrLWithQueryString()
- Specified by:
getFullUrLWithQueryString in interface RequestDTO
- Returns:
- Returns the URL and parameters.
isSecure
public Boolean isSecure()
- Specified by:
isSecure in interface RequestDTO
- Returns:
- true if this request came in through HTTPS
getFullUrlWithQueryString
public String getFullUrlWithQueryString()
setFullUrlWithQueryString
public void setFullUrlWithQueryString(String fullUrlWithQueryString)
getSecure
public Boolean getSecure()
setSecure
public void setSecure(Boolean secure)
setRequestURI
public void setRequestURI(String requestURI)
Copyright © 2013. All Rights Reserved.