Class MockWebRequest
java.lang.Object
com.broadleafcommerce.common.extension.intercommunication.MockWebRequest
- All Implemented Interfaces:
org.springframework.web.context.request.NativeWebRequest,org.springframework.web.context.request.RequestAttributes,org.springframework.web.context.request.WebRequest
@Deprecated(forRemoval=true)
public class MockWebRequest
extends Object
implements org.springframework.web.context.request.NativeWebRequest
Deprecated, for removal: This API element is subject to removal in a future version.
Using known values from
ExternalRequest and URI related information, provide a subset of
data about the request in the form of a NativeRequest instance. This is useful for
ContextInfo construction during direct method calls in ExternalClient instances.-
Field Summary
Fields inherited from interface org.springframework.web.context.request.RequestAttributes
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_REQUEST, SCOPE_SESSION -
Constructor Summary
ConstructorsConstructorDescriptionMockWebRequest(ExternalRequest request, org.springframework.web.util.UriComponents uriComponents) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckNotModified(long lastModifiedTimestamp) Deprecated, for removal: This API element is subject to removal in a future version.booleancheckNotModified(String etag) Deprecated, for removal: This API element is subject to removal in a future version.booleancheckNotModified(String etag, long lastModifiedTimestamp) Deprecated, for removal: This API element is subject to removal in a future version.getAttribute(String name, int scope) Deprecated, for removal: This API element is subject to removal in a future version.String[]getAttributeNames(int scope) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getDescription(boolean includeClientInfo) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.String[]getHeaderValues(String headerName) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.<T> TgetNativeRequest(Class<T> requiredType) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.<T> TgetNativeResponse(Class<T> requiredType) Deprecated, for removal: This API element is subject to removal in a future version.getParameter(String paramName) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.String[]getParameterValues(String paramName) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanisSecure()Deprecated, for removal: This API element is subject to removal in a future version.booleanisUserInRole(String role) Deprecated, for removal: This API element is subject to removal in a future version.voidregisterDestructionCallback(String name, Runnable callback, int scope) Deprecated, for removal: This API element is subject to removal in a future version.voidremoveAttribute(String name, int scope) Deprecated, for removal: This API element is subject to removal in a future version.resolveReference(String key) Deprecated, for removal: This API element is subject to removal in a future version.voidsetAttribute(String name, Object value, int scope) Deprecated, for removal: This API element is subject to removal in a future version.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MockWebRequest
public MockWebRequest(ExternalRequest request, org.springframework.web.util.UriComponents uriComponents) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getNativeRequest
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNativeRequestin interfaceorg.springframework.web.context.request.NativeWebRequest
-
getNativeResponse
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNativeResponsein interfaceorg.springframework.web.context.request.NativeWebRequest
-
getNativeRequest
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNativeRequestin interfaceorg.springframework.web.context.request.NativeWebRequest
-
getNativeResponse
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNativeResponsein interfaceorg.springframework.web.context.request.NativeWebRequest
-
getHeader
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHeaderin interfaceorg.springframework.web.context.request.WebRequest
-
getHeaderValues
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHeaderValuesin interfaceorg.springframework.web.context.request.WebRequest
-
getHeaderNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getHeaderNamesin interfaceorg.springframework.web.context.request.WebRequest
-
getParameter
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getParameterin interfaceorg.springframework.web.context.request.WebRequest
-
getParameterValues
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getParameterValuesin interfaceorg.springframework.web.context.request.WebRequest
-
getParameterNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getParameterNamesin interfaceorg.springframework.web.context.request.WebRequest
-
getParameterMap
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getParameterMapin interfaceorg.springframework.web.context.request.WebRequest
-
getLocale
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLocalein interfaceorg.springframework.web.context.request.WebRequest
-
getContextPath
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getContextPathin interfaceorg.springframework.web.context.request.WebRequest
-
getRemoteUser
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRemoteUserin interfaceorg.springframework.web.context.request.WebRequest
-
getUserPrincipal
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getUserPrincipalin interfaceorg.springframework.web.context.request.WebRequest
-
isUserInRole
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isUserInRolein interfaceorg.springframework.web.context.request.WebRequest
-
isSecure
public boolean isSecure()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isSecurein interfaceorg.springframework.web.context.request.WebRequest
-
checkNotModified
public boolean checkNotModified(long lastModifiedTimestamp) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
checkNotModifiedin interfaceorg.springframework.web.context.request.WebRequest
-
checkNotModified
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
checkNotModifiedin interfaceorg.springframework.web.context.request.WebRequest
-
checkNotModified
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
checkNotModifiedin interfaceorg.springframework.web.context.request.WebRequest
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDescriptionin interfaceorg.springframework.web.context.request.WebRequest
-
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributein interfaceorg.springframework.web.context.request.RequestAttributes
-
setAttribute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setAttributein interfaceorg.springframework.web.context.request.RequestAttributes
-
removeAttribute
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removeAttributein interfaceorg.springframework.web.context.request.RequestAttributes
-
getAttributeNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAttributeNamesin interfaceorg.springframework.web.context.request.RequestAttributes
-
registerDestructionCallback
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerDestructionCallbackin interfaceorg.springframework.web.context.request.RequestAttributes
-
resolveReference
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
resolveReferencein interfaceorg.springframework.web.context.request.RequestAttributes
-
getSessionId
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSessionIdin interfaceorg.springframework.web.context.request.RequestAttributes
-
getSessionMutex
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSessionMutexin interfaceorg.springframework.web.context.request.RequestAttributes
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
com.broadleafcommerce.data.tracking.core.interlink.DefaultInterlinkClientinstead.