@Version: "1.0.0"
Package HttpJavaMappings {
	Import all from TDL
	Import all from Java
	Import all from HTTP.MessageBased
	
	@[JavaPackage,
    	MappingName : "Java"]
	Use "org.etsi.mts.tdl.execution.java.adapters.http" as HttpAdapter
	
    @JavaClass
	Map Request to "HttpRequestData" in HttpAdapter as Request_Mapping {
		uri -> "uri",
		method -> "method",
		headers -> "headers",
		parameters -> "parameters",
		body -> "body"
    }
    @JavaClass
	Map Response to "HttpResponseData" in HttpAdapter as Response_Mapping {
		status -> "status",
		statusMessage -> "statusMessage",
		headers -> "headers",
		body -> "body"
    }
    @JavaClass
	Map Header to "HttpHeader" in HttpAdapter as Header_Mapping {
		^name -> "name",
		^value -> "value"
    }
    @JavaClass
	Map Parameter to "HttpRequestParameter" in HttpAdapter as Parameter_Mapping {
		location -> "location",
		^name -> "name",
		^value -> "value"
    }
    @JavaClass
	Map Location to "HttpParameterLocation" in HttpAdapter as Location_Mapping
	
    @[JavaClass,
    	MappingName : "Java"]
	Use "org.etsi.mts.tdl.execution.java.adapters.http.HttpParameterLocation" as HttpParameterLocation
	Map path to "path" in HttpParameterLocation as path_mapping
	Map query to "query" in HttpParameterLocation as query_mapping
	Map cookie to "cookie" in HttpParameterLocation as cookie_mapping
	
	
    @JavaClass
	Map Method to "HttpMethod" in HttpAdapter as Method_Mapping
	
    @[JavaClass,
    	MappingName : "Java"]
	Use "org.etsi.mts.tdl.execution.java.adapters.http.HttpMethod" as HttpMethod
	Map GET to "GET" in HttpMethod as GET_mapping
	Map POST to "POST" in HttpMethod as POST_mapping
	Map PUT to "PUT" in HttpMethod as PUT_mapping
	Map PATCH to "PATCH" in HttpMethod as PATCH_mapping
	Map DELETE to "DELETE" in HttpMethod as DELETE_mapping
}
