public class DefaultProxyFacade extends java.lang.Object implements ProxyFacade
ProxyService| Constructor and Description |
|---|
DefaultProxyFacade() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInlineFormHtml(java.lang.String applicationId,
java.lang.String formId,
YFormDataActionEnum action,
java.lang.String formDataId)
Gets the embedded HTML representation of a form definition.
|
protected ProxyService |
getProxyService() |
void |
proxy(HttpServletRequest request,
HttpServletResponse response)
Proxies content
|
void |
setProxyService(ProxyService proxyService) |
protected java.lang.String |
urlEncode(java.lang.String url) |
public java.lang.String getInlineFormHtml(java.lang.String applicationId,
java.lang.String formId,
YFormDataActionEnum action,
java.lang.String formDataId)
throws YFormServiceException
ProxyFacadegetInlineFormHtml in interface ProxyFacadeapplicationId - the application id of the form definitionformId - the form id of the form definitionaction - the form actionformDataId - the form data id of the form definitionYFormServiceException - if request with specified parameter cannot be proxied or response is corruptedpublic void proxy(HttpServletRequest request,
HttpServletResponse response)
throws ProxyException
ProxyFacadeproxy in interface ProxyFacaderequest - the HttpServletRequest associated with the callresponse - the HttpServletResponse associated with the callProxyException - when request cannot be proxiedprotected java.lang.String urlEncode(java.lang.String url)
protected ProxyService getProxyService()
public void setProxyService(ProxyService proxyService)
Copyright © 2018 SAP SE. All Rights Reserved.