All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wavemaker.runtime.rest.model.HttpRequestData Maven / Gradle / Ivy

There is a newer version: 11.9.2.ee
Show newest version
/**
 * Copyright (C) 2020 WaveMaker, Inc.
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

* http://www.apache.org/licenses/LICENSE-2.0 *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.wavemaker.runtime.rest.model; import java.io.InputStream; import java.util.Map; import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; /** * Class used to store the details of the incoming http request from the client * @author Uday Shankar */ public class HttpRequestData { private Map pathVariablesMap; private MultiValueMap queryParametersMap; private HttpHeaders httpHeaders = new HttpHeaders(); private InputStream requestBody; public HttpHeaders getHttpHeaders() { return httpHeaders; } public void setHttpHeaders(HttpHeaders httpHeaders) { this.httpHeaders = httpHeaders; } public Map getPathVariablesMap() { return pathVariablesMap; } public void setPathVariablesMap(Map pathVariablesMap) { this.pathVariablesMap = pathVariablesMap; } public InputStream getRequestBody() { return requestBody; } public void setRequestBody(InputStream requestBody) { this.requestBody = requestBody; } public MultiValueMap getQueryParametersMap() { return queryParametersMap; } public void setQueryParametersMap(MultiValueMap queryParametersMap) { this.queryParametersMap = queryParametersMap; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy