gluu
静的公開メンバ関数 | 非公開メンバ関数 | 全メンバ一覧
org.xdi.oxauth.client.ClientUtils クラス
org.xdi.oxauth.client.ClientUtils 連携図
Collaboration graph

静的公開メンバ関数

static void showClient (BaseClient client)
 
static void showClientUserAgent (BaseClient client)
 
static void showClient (BaseClient client, CookieStore cookieStore)
 

非公開メンバ関数

 ClientUtils ()
 

詳解

著者
Yuriy Zabrovarnyy
Javier Rojas Blum
バージョン
December 26, 2016

構築子と解体子

◆ ClientUtils()

org.xdi.oxauth.client.ClientUtils.ClientUtils ( )
inlineprivate
18  {
19  }

関数詳解

◆ showClient() [1/2]

static void org.xdi.oxauth.client.ClientUtils.showClient ( BaseClient  client)
inlinestatic
21  {
22  System.out.println("-------------------------------------------------------");
23  System.out.println("REQUEST:");
24  System.out.println("-------------------------------------------------------");
25  System.out.println(client.getRequestAsString());
26  System.out.println("");
27 
28  System.out.println("-------------------------------------------------------");
29  System.out.println("RESPONSE:");
30  System.out.println("-------------------------------------------------------");
31  System.out.println(client.getResponseAsString());
32  System.out.println("");
33  }

◆ showClient() [2/2]

static void org.xdi.oxauth.client.ClientUtils.showClient ( BaseClient  client,
CookieStore  cookieStore 
)
inlinestatic
52  {
53  showClient(client);
54 
55  System.out.println("-------------------------------------------------------");
56  System.out.println("COOKIES:");
57  System.out.println("-------------------------------------------------------");
58  System.out.println(cookieStore.getCookies());
59  System.out.println("");
60  }
static void showClient(BaseClient client)
Definition: ClientUtils.java:21

◆ showClientUserAgent()

static void org.xdi.oxauth.client.ClientUtils.showClientUserAgent ( BaseClient  client)
inlinestatic
35  {
36  System.out.println("-------------------------------------------------------");
37  System.out.println("REQUEST:");
38  System.out.println("-------------------------------------------------------");
39  System.out.println(client.getUrl() + "?" + client.getRequest().getQueryString());
40  System.out.println("");
41 
42  if (client.getResponse() != null) {
43  System.out.println("-------------------------------------------------------");
44  System.out.println("RESPONSE:");
45  System.out.println("-------------------------------------------------------");
46  System.out.println("HTTP/1.1 302 Found");
47  System.out.println("Location: " + client.getResponse().getLocation());
48  System.out.println("");
49  }
50  }

このクラス詳解は次のファイルから抽出されました: