1 package fr.paris.lutece.util.httpaccess; 2 3 public class HttpRequestResult { 4 5 6 public HttpRequestResult() 7 { 8 9 } 10 11 public HttpRequestResult(String _strMethodName, String[] headers, String requestBody, String requestPath) { 12 super(); 13 this._strMethodName = _strMethodName; 14 this.headers = headers; 15 this.requestBody = requestBody; 16 this.requestPath = requestPath; 17 } 18 19 20 private String _strMethodName; 21 private String[] headers; 22 private String requestBody; 23 private String requestPath; 24 25 26 public String[] getHeaders() { 27 return headers; 28 } 29 30 31 public void setHeaders(String[] headers) { 32 this.headers = headers; 33 } 34 35 36 37 38 39 40 public String getMethodName() { 41 return _strMethodName; 42 } 43 44 public void setMethodName(String strMethodName) { 45 this._strMethodName = strMethodName; 46 } 47 48 49 public String getRequestBody() { 50 return requestBody; 51 } 52 53 54 public void setRequestBody(String requestBody) { 55 this.requestBody = requestBody; 56 } 57 58 59 public String getRequestPath() { 60 return requestPath; 61 } 62 63 64 public void setRequestPath(String requestPath) { 65 this.requestPath = requestPath; 66 } 67 68 69 70 71 }