com.xsolla.sdk.protocol.http.IHttpAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
An official PHP SDK for interacting with Xsolla HTTP API.
Xsolla is the authorized reseller and merchant providing e-commerce services for online games.
package com.xsolla.sdk.protocol.http;
import com.xsolla.sdk.protocol.request.Request;
import com.xsolla.sdk.protocol.response.Response;
public interface IHttpAdapter {
/**
* Convert WEB server request to com.xsolla.sdk.request.Request
* If you WEB server software support JavaEE Servlets, use ServletHttpAdapter
* @return Request
*/
public Request getRequest();
/**
* Reply to Xsolla
* If you WEB server software support JavaEE Servlets, use ServletHttpAdapter
* @param response Response
*/
public void sendResponse(Response response);
}