Package org.wso2.carbon.tryit
Class WADL2FormRequestProcessor
java.lang.Object
org.wso2.carbon.tryit.WADL2FormRequestProcessor
- All Implemented Interfaces:
org.wso2.carbon.core.transports.HttpGetRequestProcessor
public class WADL2FormRequestProcessor
extends Object
implements org.wso2.carbon.core.transports.HttpGetRequestProcessor
This class helps to load needed Resources for the Tryit page. When FE/BE is separated we cannot
access the JavaScript files and images required for the proper operation of Tryit. This Request
Processor is used to load any needed content from BE to FE. We can load any content from
wadl2form's resources using
?wadl2forminvalid input: '&resource'=foo.jsinvalid input: '&type'=js or
?wadl2forminvalid input: '&resource'=bar.jpginvalid input: '&type'=image
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.wso2.carbon.core.transports.CarbonHttpRequest request, org.wso2.carbon.core.transports.CarbonHttpResponse response, org.apache.axis2.context.ConfigurationContext configurationContext)
-
Constructor Details
-
WADL2FormRequestProcessor
public WADL2FormRequestProcessor()
-
-
Method Details
-
process
public void process(org.wso2.carbon.core.transports.CarbonHttpRequest request, org.wso2.carbon.core.transports.CarbonHttpResponse response, org.apache.axis2.context.ConfigurationContext configurationContext) throws Exception - Specified by:
processin interfaceorg.wso2.carbon.core.transports.HttpGetRequestProcessor- Throws:
Exception
-