package com.offcn.TestUnti;

import java.io.InputStream;
import java.util.Map;
import java.util.concurrent.TimeUnit;

import io.restassured.http.Cookie;
import io.restassured.http.Cookies;
import io.restassured.http.Headers;
import io.restassured.mapper.ObjectMapper;
import io.restassured.mapper.ObjectMapperType;
import io.restassured.path.json.JsonPath;
import io.restassured.path.json.config.JsonPathConfig;
import io.restassured.path.xml.XmlPath;
import io.restassured.path.xml.XmlPath.CompatibilityMode;
import io.restassured.path.xml.config.XmlPathConfig;
import io.restassured.response.Response;
import io.restassured.response.ResponseBody;
import io.restassured.response.ValidatableResponse;



public class IoResponse {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}
	
	public Response setResponseValue(final String StatusCode,final String asString){
		Response re= new Response() {
			
			@Override
			public ValidatableResponse then() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public long timeIn(TimeUnit arg0) {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public long time() {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public Response thenReturn() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String statusLine() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public int statusCode() {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public String sessionId() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Headers headers() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String header(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public long getTimeIn(TimeUnit arg0) {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public long getTime() {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public String getStatusLine() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public int getStatusCode() {
				// TODO Auto-generated method stub
				return Integer.valueOf(StatusCode);
			}
			
			@Override
			public String getSessionId() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Headers getHeaders() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String getHeader(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Cookies getDetailedCookies() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Cookie getDetailedCookie(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Map<String, String> getCookies() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String getCookie(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String getContentType() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public ResponseBody getBody() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Cookies detailedCookies() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Cookie detailedCookie(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Map<String, String> cookies() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String cookie(String arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String contentType() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public ResponseBody body() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Response andReturn() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String asString() {
				// TODO Auto-generated method stub
				return asString;
			}
			
			@Override
			public InputStream asInputStream() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public byte[] asByteArray() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public XmlPath xmlPath(CompatibilityMode arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public XmlPath xmlPath(XmlPathConfig arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public XmlPath xmlPath() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public <T> T path(String arg0, String... arg1) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public JsonPath jsonPath(JsonPathConfig arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public JsonPath jsonPath() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public XmlPath htmlPath() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public <T> T as(Class<T> arg0, ObjectMapper arg1) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public <T> T as(Class<T> arg0, ObjectMapperType arg1) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public <T> T as(Class<T> arg0) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String print() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public String prettyPrint() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Response prettyPeek() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public Response peek() {
				// TODO Auto-generated method stub
				return null;
			}
		};
		
		return re;
	}

}
