001package com.gigya.android.sdk.api; 002 003import android.support.annotation.NonNull; 004import android.support.annotation.Nullable; 005 006import com.gigya.android.sdk.network.adapter.RestAdapter; 007 008public class GigyaApiHttpRequest { 009 010 private RestAdapter.HttpMethod httpMethod; 011 private String url; 012 private String encodedParams; 013 014 GigyaApiHttpRequest( 015 @NonNull RestAdapter.HttpMethod httpMethod, 016 @NonNull String url, 017 @Nullable String encodedParams) { 018 this.httpMethod = httpMethod; 019 this.url = url; 020 this.encodedParams = encodedParams; 021 } 022 023 @NonNull 024 public RestAdapter.HttpMethod getHttpMethod() { 025 return httpMethod; 026 } 027 028 @NonNull 029 public String getUrl() { 030 return url; 031 } 032 033 @Nullable 034 public String getEncodedParams() { 035 return encodedParams; 036 } 037 038}