Interface ProxyFacade
-
- All Known Implementing Classes:
DefaultProxyFacade
public interface ProxyFacadeOrchestrates calls toProxyService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetInlineFormHtml(java.lang.String applicationId, java.lang.String formId, YFormDataActionEnum action, java.lang.String formDataId)Gets the embedded HTML representation of a form definition.voidproxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Proxies content
-
-
-
Method Detail
-
getInlineFormHtml
java.lang.String getInlineFormHtml(java.lang.String applicationId, java.lang.String formId, YFormDataActionEnum action, java.lang.String formDataId) throws YFormServiceExceptionGets the embedded HTML representation of a form definition.- Parameters:
applicationId- the application id of the form definitionformId- the form id of the form definitionaction- the form actionformDataId- the form data id of the form definition- Returns:
- the inline representation of the form definition as string
- Throws:
YFormServiceException- if request with specified parameter cannot be proxied or response is corrupted
-
proxy
void proxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ProxyExceptionProxies content- Parameters:
request- theHttpServletRequestassociated with the callresponse- theHttpServletResponseassociated with the call- Throws:
ProxyException- when request cannot be proxied
-
-