docstring_tokens list | code_tokens list |
|---|---|
[
"get",
"all",
"given",
"{"
] | [
"return",
"get",
"members",
"from",
"descriptors",
"(",
"store",
"get",
"(",
"index",
"(",
"member",
"usage",
"scanner",
"class",
")",
",",
"name",
"(",
"constructor",
")",
")",
")",
";"
] |
[
"serialize",
"to",
"a",
"given",
"directory",
"and",
"filename",
"<",
"p",
">",
"*",
"it",
"is",
"preferred",
"to",
"specify",
"a",
"designated",
"directory",
"(",
"for",
"example",
"meta",
"-",
"inf",
"/",
"reflections",
")",
"so",
"that",
"it",
"could"... | [
"return",
"save",
"(",
"filename",
",",
"configuration",
"get",
"serializer",
"(",
")",
")",
";"
] |
[
"<",
"p",
">",
"an",
"object",
"that",
"contains",
"information",
"about",
"the",
"channel",
"<",
"/",
"p",
">"
] | [
"set",
"channel",
"(",
"channel",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"statistics",
"about",
"the",
"channel",
"included",
"if",
"the",
"include",
"statistics",
"parameter",
"is",
"set",
"to",
"true",
"in",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"this",
"statistics",
"=",
"statistics",
";"
] |
[
"<",
"p",
">",
"statistics",
"about",
"the",
"channel",
"included",
"if",
"the",
"include",
"statistics",
"parameter",
"is",
"set",
"to",
"true",
"in",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"statistics",
";"
] |
[
"<",
"p",
">",
"statistics",
"about",
"the",
"channel",
"included",
"if",
"the",
"include",
"statistics",
"parameter",
"is",
"set",
"to",
"true",
"in",
"the",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"statistics",
"(",
"statistics",
")",
";",
"return",
"this",
";"
] |
[
"builds",
"a",
"alarm",
"exists",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiter",
"parameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the",
"r... | [
"return",
"new",
"waiter",
"builder",
"<",
"describe",
"alarms",
"request",
",",
"describe",
"alarms",
"result",
">",
"(",
")",
"with",
"sdk",
"function",
"(",
"new",
"describe",
"alarms",
"function",
"(",
"client",
")",
")",
"with",
"acceptors",
"(",
"new... |
[
"converts",
"type",
"using",
"type",
"converter",
"manager"
] | [
"return",
"type",
"converter",
"manager",
"convert",
"type",
"(",
"value",
",",
"int",
"class",
")",
"int",
"value",
"(",
")",
";"
] |
[
"creates",
"an",
"array",
"with",
"single",
"element"
] | [
"return",
"new",
"int",
"[",
"]",
"{",
"convert",
"type",
"(",
"value",
")",
"}",
";"
] |
[
"converts",
"primitive",
"array",
"to",
"target",
"array"
] | [
"int",
"[",
"]",
"result",
"=",
"null",
";",
"if",
"(",
"primitive",
"component",
"type",
"=",
"=",
"int",
"class",
")",
"{",
"return",
"(",
"int",
"[",
"]",
")",
"value",
";",
"}",
"if",
"(",
"primitive",
"component",
"type",
"=",
"=",
"long",
"... |
[
"first",
"token",
"is",
"{",
"@",
"link",
"special",
"identifier",
"#",
"columns",
"}"
] | [
"lexer",
"next",
"token",
"(",
")",
";",
"match",
"(",
"kw",
"from",
",",
"kw",
"in",
")",
";",
"identifier",
"table",
"=",
"identifier",
"(",
")",
";",
"identifier",
"database",
"=",
"null",
";",
"switch",
"(",
"lexer",
"token",
"(",
")",
")",
"{"... |
[
"will",
"set",
"object",
"as",
"tag",
"to",
"this",
"request",
"wrapped",
"by",
"weak",
"reference"
] | [
"this",
"response",
"handler",
"set",
"tag",
"(",
"tag",
")",
";",
"return",
"this",
";"
] |
[
"will",
"return",
"tag",
"of",
"this",
"async",
"http",
"request"
] | [
"return",
"this",
"response",
"handler",
"get",
"tag",
"(",
")",
";"
] |
[
"return",
"the",
"specified",
"aspect",
"class",
"(",
"never",
"{"
] | [
"return",
"this",
"aspect",
"class",
";"
] |
[
"determine",
"the",
"order",
"for",
"this",
"factory",
"s",
"aspect",
"instance",
"either",
"an",
"instance",
"-",
"specific",
"order",
"expressed",
"through",
"implementing",
"the",
"{"
] | [
"return",
"get",
"order",
"for",
"aspect",
"class",
"(",
"this",
"aspect",
"class",
")",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"this",
"tdt",
"interval",
"=",
"tdt",
"interval",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"return",
"this",
"tdt",
"interval",
";"
] |
[
"the",
"number",
"of",
"milliseconds",
"between",
"instances",
"of",
"this",
"table",
"in",
"the",
"output",
"transport",
"stream"
] | [
"set",
"tdt",
"interval",
"(",
"tdt",
"interval",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"new",
"schema",
"coder",
"<",
">",
"(",
"schema",
",",
"to",
"row",
"function",
",",
"from",
"row",
"function",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"new",
"schema",
"coder",
"<",
">",
"(",
"schema",
",",
"serializable",
"functions",
"identity",
"(",
")",
",",
"serializable",
"functions",
"identity",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"schema",
"associated",
"with",
"this",
"type"
] | [
"return",
"row",
"coder",
"get",
"schema",
"(",
")",
";"
] |
[
"returns",
"the",
"to",
"row",
"conversion",
"function"
] | [
"return",
"from",
"row",
"function",
";"
] |
[
"returns",
"the",
"from",
"row",
"conversion",
"function"
] | [
"return",
"to",
"row",
"function",
";"
] |
[
"returns",
"whether",
"this",
"is",
"a",
"certain",
"mark"
] | [
"return",
"certain",
";"
] |
[
"returns",
"whether",
"this",
"mark",
"has",
"a",
"shorter",
"chain",
"of",
"reasons",
"than",
"the",
"given",
"mark"
] | [
"return",
"this",
"depth",
"<",
"other",
"usage",
"mark",
"depth",
";"
] |
[
"returns",
"whether",
"this",
"is",
"mark",
"is",
"caused",
"by",
"the",
"given",
"class"
] | [
"return",
"clazz",
"equals",
"(",
"this",
"clazz",
")",
";"
] |
[
"applies",
"the",
"given",
"class",
"visitor",
"to",
"this",
"mark",
"s",
"class",
"if",
"any",
"and",
"if",
"this",
"mark",
"doesn",
"t",
"have",
"a",
"member"
] | [
"if",
"(",
"clazz",
"!",
"=",
"null",
"&",
"&",
"member",
"=",
"=",
"null",
")",
"{",
"clazz",
"accept",
"(",
"class",
"visitor",
")",
";",
"}"
] |
[
"applies",
"the",
"given",
"class",
"visitor",
"to",
"this",
"mark",
"s",
"member",
"if",
"any"
] | [
"if",
"(",
"clazz",
"!",
"=",
"null",
"&",
"&",
"member",
"!",
"=",
"null",
")",
"{",
"member",
"accept",
"(",
"clazz",
",",
"member",
"visitor",
")",
";",
"}"
] |
[
"start",
"building",
"the",
"response",
"part",
"of",
"the",
"test",
"io",
"restassured",
"specification",
"e",
"g",
"<",
"p",
"/",
">",
"<",
"pre",
">",
"expect",
"(",
")",
"body",
"(",
"lotto",
"lotto",
"id",
"equal",
"to",
"(",
"5",
")",
")",
"w... | [
"return",
"create",
"test",
"specification",
"(",
")",
"get",
"response",
"specification",
"(",
")",
";"
] |
[
"start",
"building",
"the",
"request",
"part",
"of",
"the",
"test",
"io",
"restassured",
"specification",
"e",
"g",
"<",
"p",
"/",
">",
"<",
"pre",
">",
"with",
"(",
")",
"parameters",
"(",
"first",
"name",
"john",
"last",
"name",
"doe",
")",
"when",
... | [
"return",
"given",
"(",
")",
";"
] |
[
"create",
"a",
"list",
"of",
"arguments",
"that",
"can",
"be",
"used",
"to",
"create",
"parts",
"of",
"the",
"path",
"in",
"a",
"body",
"/",
"content",
"expression",
"this",
"is",
"useful",
"in",
"situations",
"where",
"you",
"have",
"e",
"g",
"pre",
"... | [
"return",
"with",
"args",
"(",
"first",
"argument",
",",
"additional",
"arguments",
")",
";"
] |
[
"create",
"a",
"list",
"of",
"no",
"arguments",
"that",
"can",
"be",
"used",
"to",
"create",
"parts",
"of",
"the",
"path",
"in",
"a",
"response",
"specification",
"for",
"json",
"xml",
"or",
"html",
"validation",
"this",
"is",
"useful",
"in",
"situations",... | [
"return",
"with",
"no",
"args",
"(",
")",
";"
] |
[
"create",
"a",
"list",
"of",
"no",
"arguments",
"that",
"can",
"be",
"used",
"to",
"create",
"parts",
"of",
"the",
"path",
"in",
"a",
"response",
"specification",
"for",
"json",
"xml",
"or",
"html",
"validation",
"this",
"is",
"useful",
"in",
"situations",... | [
"return",
"collections",
"unmodifiable",
"list",
"(",
"collections",
"<",
"argument",
">",
"empty",
"list",
"(",
")",
")",
";"
] |
[
"start",
"building",
"the",
"request",
"part",
"of",
"the",
"test",
"io",
"restassured",
"specification",
"e",
"g",
"<",
"p",
"/",
">",
"<",
"pre",
">",
"given",
"(",
")",
"parameters",
"(",
"first",
"name",
"john",
"last",
"name",
"doe",
")",
"when",
... | [
"return",
"create",
"test",
"specification",
"(",
")",
"get",
"request",
"specification",
"(",
")",
";"
] |
[
"start",
"building",
"the",
"dsl",
"expression",
"by",
"sending",
"a",
"request",
"without",
"any",
"parameters",
"or",
"headers",
"etc",
"e",
"g",
"<",
"p",
"/",
">",
"<",
"pre",
">",
"when",
"(",
")",
"get",
"(",
"/",
"x",
")",
"then",
"(",
")",
... | [
"return",
"create",
"test",
"specification",
"(",
")",
"get",
"request",
"specification",
"(",
")",
";"
] |
[
"when",
"you",
"have",
"long",
"specifications",
"it",
"can",
"be",
"better",
"to",
"split",
"up",
"the",
"definition",
"of",
"response",
"and",
"request",
"specifications",
"in",
"multiple",
"lines",
"you",
"can",
"then",
"pass",
"the",
"response",
"and",
"... | [
"return",
"new",
"test",
"specification",
"impl",
"(",
"request",
"specification",
",",
"response",
"specification",
")",
";"
] |
[
"when",
"you",
"re",
"only",
"interested",
"in",
"supplying",
"a",
"predefined",
"request",
"specification",
"without",
"a",
"response",
"specification",
"then",
"you",
"can",
"use",
"this",
"method",
"for",
"example",
":",
"<",
"p",
"/",
">",
"<",
"pre",
... | [
"return",
"given",
"(",
")",
"spec",
"(",
"request",
"specification",
")",
";"
] |
[
"perform",
"a",
"get",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"path... | [
"return",
"given",
"(",
")",
"get",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"get",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"path... | [
"return",
"given",
"(",
")",
"get",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"post",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pat... | [
"return",
"given",
"(",
")",
"post",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"post",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pat... | [
"return",
"given",
"(",
")",
"post",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"put",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"path... | [
"return",
"given",
"(",
")",
"put",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"delete",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"p... | [
"return",
"given",
"(",
")",
"delete",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"delete",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"p... | [
"return",
"given",
"(",
")",
"delete",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"head",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pat... | [
"return",
"given",
"(",
")",
"head",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"head",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pat... | [
"return",
"given",
"(",
")",
"head",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"patch",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pa... | [
"return",
"given",
"(",
")",
"patch",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"patch",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pa... | [
"return",
"given",
"(",
")",
"patch",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"options",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"... | [
"return",
"given",
"(",
")",
"options",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"options",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"... | [
"return",
"given",
"(",
")",
"options",
"(",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"get",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"get",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"post",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"post",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"put",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"put",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"delete",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"delete",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"head",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"head",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"patch",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"patch",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"options",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"options",
"(",
"uri",
")",
";"
] |
[
"perform",
"a",
"get",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"get",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"post",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"post",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"put",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"put",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"delete",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"delete",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"head",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"head",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"patch",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"patch",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"options",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"options",
"(",
"url",
")",
";"
] |
[
"perform",
"a",
"get",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"get",
"(",
")",
";"
] |
[
"perform",
"a",
"post",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"post",
"(",
")",
";"
] |
[
"perform",
"a",
"put",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"put",
"(",
")",
";"
] |
[
"perform",
"a",
"delete",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"delete",
"(",
")",
";"
] |
[
"perform",
"a",
"head",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"head",
"(",
")",
";"
] |
[
"perform",
"a",
"patch",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"patch",
"(",
")",
";"
] |
[
"perform",
"a",
"options",
"request",
"to",
"the",
"statically",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"options",
"(",
")",
";"
] |
[
"perform",
"a",
"request",
"to",
"the",
"pre",
"-",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
")",
";"
] |
[
"perform",
"a",
"custom",
"http",
"request",
"to",
"the",
"pre",
"-",
"configured",
"path",
"(",
"by",
"default",
"<",
"code",
">",
"http",
":",
"/",
"/",
"localhost",
":",
"8080",
"<",
"/",
"code",
">",
")"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
")",
";"
] |
[
"perform",
"a",
"http",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"the",
"pat... | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"custom",
"http",
"request",
"to",
"a",
"<",
"code",
">",
"path",
"<",
"/",
"code",
">",
"normally",
"the",
"path",
"doesn",
"t",
"have",
"to",
"be",
"fully",
"-",
"qualified",
"e",
"g",
"you",
"don",
"t",
"need",
"to",
"specify",
"... | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"path",
",",
"path",
"params",
")",
";"
] |
[
"perform",
"a",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"uri",
")",
";"
] |
[
"perform",
"a",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"url",
")",
";"
] |
[
"perform",
"a",
"custom",
"http",
"request",
"to",
"a",
"<",
"code",
">",
"uri",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"uri",
")",
";"
] |
[
"perform",
"a",
"custom",
"http",
"request",
"to",
"a",
"<",
"code",
">",
"url",
"<",
"/",
"code",
">"
] | [
"return",
"given",
"(",
")",
"request",
"(",
"method",
",",
"url",
")",
";"
] |
[
"create",
"a",
"http",
"basic",
"authentication",
"scheme"
] | [
"final",
"basic",
"auth",
"scheme",
"scheme",
"=",
"new",
"basic",
"auth",
"scheme",
"(",
")",
";",
"scheme",
"set",
"user",
"name",
"(",
"user",
"name",
")",
";",
"scheme",
"set",
"password",
"(",
"password",
")",
";",
"return",
"scheme",
";"
] |
[
"create",
"a",
"ntlm",
"authentication",
"scheme"
] | [
"final",
"n",
"t",
"l",
"m",
"auth",
"scheme",
"scheme",
"=",
"new",
"n",
"t",
"l",
"m",
"auth",
"scheme",
"(",
")",
";",
"scheme",
"set",
"user",
"name",
"(",
"user",
"name",
")",
";",
"scheme",
"set",
"password",
"(",
"password",
")",
";",
"sch... |
[
"use",
"form",
"authentication",
"rest",
"assured",
"will",
"try",
"to",
"parse",
"the",
"response",
"login",
"page",
"and",
"determine",
"and",
"try",
"find",
"the",
"action",
"username",
"and",
"password",
"input",
"field",
"automatically",
"<",
"p",
">",
... | [
"return",
"form",
"(",
"user",
"name",
",",
"password",
",",
"null",
")",
";"
] |
[
"return",
"the",
"http",
"preemptive",
"authentication",
"specification",
"for",
"setting",
"up",
"preemptive",
"authentication",
"requests",
"this",
"means",
"that",
"the",
"authentication",
"details",
"are",
"sent",
"in",
"the",
"request",
"header",
"regardless",
... | [
"return",
"new",
"preemptive",
"auth",
"provider",
"(",
")",
";"
] |
[
"sets",
"a",
"certificate",
"to",
"be",
"used",
"for",
"ssl",
"authentication",
"see",
"{",
"@",
"link",
"java",
"lang",
"class",
"#",
"get",
"resource",
"(",
"string",
")",
"}",
"for",
"how",
"to",
"get",
"a",
"url",
"from",
"a",
"resource",
"on",
"... | [
"s",
"s",
"l",
"config",
"ssl",
"config",
"=",
"config",
"(",
")",
"get",
"s",
"s",
"l",
"config",
"(",
")",
";",
"return",
"certificate",
"(",
"cert",
"u",
"r",
"l",
",",
"password",
",",
"certificate",
"auth",
"settings",
"cert",
"auth",
"settings"... |
[
"sets",
"a",
"certificate",
"to",
"be",
"used",
"for",
"ssl",
"authentication",
"see",
"{",
"@",
"link",
"class",
"#",
"get",
"resource",
"(",
"string",
")",
"}",
"for",
"how",
"to",
"get",
"a",
"url",
"from",
"a",
"resource",
"on",
"the",
"classpath",... | [
"return",
"certificate",
"(",
"cert",
"u",
"r",
"l",
",",
"password",
",",
"\"",
"\"",
",",
"\"",
"\"",
",",
"certificate",
"auth",
"settings",
")",
";"
] |
[
"use",
"http",
"digest",
"authentication",
"note",
"that",
"you",
"need",
"to",
"encode",
"the",
"password",
"yourself"
] | [
"return",
"basic",
"(",
"user",
"name",
",",
"password",
")",
";"
] |
[
"excerpt",
"from",
"the",
"http",
"builder",
"docs",
":",
"<",
"br",
">",
"o",
"auth",
"sign",
"the",
"request",
"note",
"that",
"this",
"currently",
"does",
"not",
"wait",
"for",
"a",
"www",
"-",
"authenticate",
"challenge",
"before",
"sending",
"the",
... | [
"o",
"auth",
"scheme",
"scheme",
"=",
"new",
"o",
"auth",
"scheme",
"(",
")",
";",
"scheme",
"set",
"consumer",
"key",
"(",
"consumer",
"key",
")",
";",
"scheme",
"set",
"consumer",
"secret",
"(",
"consumer",
"secret",
")",
";",
"scheme",
"set",
"acces... |
[
"excerpt",
"from",
"the",
"http",
"builder",
"docs",
":",
"<",
"br",
">",
"o",
"auth",
"sign",
"the",
"request",
"note",
"that",
"this",
"currently",
"does",
"not",
"wait",
"for",
"a",
"www",
"-",
"authenticate",
"challenge",
"before",
"sending",
"the",
... | [
"o",
"auth",
"scheme",
"scheme",
"=",
"new",
"o",
"auth",
"scheme",
"(",
")",
";",
"scheme",
"set",
"consumer",
"key",
"(",
"consumer",
"key",
")",
";",
"scheme",
"set",
"consumer",
"secret",
"(",
"consumer",
"secret",
")",
";",
"scheme",
"set",
"acces... |
[
"o",
"auth",
"sign",
"the",
"request",
"note",
"that",
"this",
"currently",
"does",
"not",
"wait",
"for",
"a",
"www",
"-",
"authenticate",
"challenge",
"before",
"sending",
"the",
"the",
"o",
"auth",
"header",
"all",
"requests",
"to",
"all",
"domains",
"wi... | [
"preemptive",
"o",
"auth",
"2",
"header",
"scheme",
"my",
"scheme",
"=",
"new",
"preemptive",
"o",
"auth",
"2",
"header",
"scheme",
"(",
")",
";",
"my",
"scheme",
"set",
"access",
"token",
"(",
"access",
"token",
")",
";",
"return",
"my",
"scheme",
";"... |
[
"o",
"auth",
"sign",
"the",
"request",
"note",
"that",
"this",
"currently",
"does",
"not",
"wait",
"for",
"a",
"www",
"-",
"authenticate",
"challenge",
"before",
"sending",
"the",
"the",
"o",
"auth",
"header",
"all",
"requests",
"to",
"all",
"domains",
"wi... | [
"o",
"auth",
"2",
"scheme",
"scheme",
"=",
"new",
"o",
"auth",
"2",
"scheme",
"(",
")",
";",
"scheme",
"set",
"access",
"token",
"(",
"access",
"token",
")",
";",
"scheme",
"set",
"signature",
"(",
"signature",
")",
";",
"return",
"scheme",
";"
] |
[
"register",
"a",
"custom",
"content",
"-",
"type",
"to",
"be",
"parsed",
"using",
"a",
"predefined",
"parser",
"e",
"g",
"let",
"s",
"say",
"you",
"want",
"parse",
"content",
"-",
"type",
"<",
"tt",
">",
"application",
"/",
"custom",
"<",
"/",
"tt",
... | [
"response",
"parser",
"registrar",
"register",
"parser",
"(",
"content",
"type",
",",
"parser",
")",
";"
] |
[
"unregister",
"the",
"parser",
"associated",
"with",
"the",
"provided",
"content",
"-",
"type"
] | [
"response",
"parser",
"registrar",
"unregister",
"parser",
"(",
"content",
"type",
")",
";"
] |
[
"resets",
"the",
"{"
] | [
"base",
"u",
"r",
"i",
"=",
"default",
"uri",
";",
"port",
"=",
"undefined",
"port",
";",
"base",
"path",
"=",
"default",
"path",
";",
"authentication",
"=",
"default",
"auth",
";",
"root",
"path",
"=",
"default",
"body",
"root",
"path",
";",
"filters"... |
[
"use",
"relaxed",
"http",
"validation",
"with",
"protocol",
"{"
] | [
"use",
"relaxed",
"h",
"t",
"t",
"p",
"s",
"validation",
"(",
"ssl",
")",
";"
] |
[
"use",
"relaxed",
"http",
"validation",
"with",
"a",
"specific",
"protocol",
"this",
"means",
"that",
"you",
"ll",
"trust",
"all",
"hosts",
"regardless",
"if",
"the",
"ssl",
"certificate",
"is",
"invalid",
"by",
"using",
"this",
"method",
"you",
"don",
"t",
... | [
"config",
"=",
"rest",
"assured",
"config",
"(",
")",
"ssl",
"config",
"(",
"s",
"s",
"l",
"config",
"ssl",
"config",
"(",
")",
"relaxed",
"h",
"t",
"t",
"p",
"s",
"validation",
"(",
"protocol",
")",
")",
";"
] |
[
"uses",
"the",
"user",
"default",
"keystore",
"stored",
"in",
"@",
"{",
"user",
"home",
"}",
"/",
"keystore",
"*",
"<",
"p",
">",
"note",
"that",
"this",
"is",
"just",
"a",
"shortcut",
"for",
":",
"<",
"/",
"p",
">",
"<",
"pre",
">",
"rest",
"ass... | [
"apply",
"key",
"store",
"(",
"null",
",",
"password",
")",
";"
] |
[
"instruct",
"rest",
"assured",
"to",
"connect",
"to",
"a",
"proxy",
"on",
"the",
"specified",
"host",
"and",
"port"
] | [
"proxy",
"(",
"host",
"(",
"host",
")",
"with",
"port",
"(",
"port",
")",
")",
";"
] |
[
"instruct",
"rest",
"assured",
"to",
"connect",
"to",
"a",
"proxy",
"on",
"the",
"specified",
"port",
"on",
"localhost"
] | [
"proxy",
"(",
"proxy",
"specification",
"port",
"(",
"port",
")",
")",
";"
] |
[
"instruct",
"rest",
"assured",
"to",
"connect",
"to",
"a",
"proxy",
"on",
"the",
"specified",
"port",
"on",
"localhost",
"with",
"a",
"specific",
"scheme"
] | [
"proxy",
"(",
"new",
"proxy",
"specification",
"(",
"host",
",",
"port",
",",
"scheme",
")",
")",
";"
] |
[
"instruct",
"rest",
"assured",
"to",
"connect",
"to",
"a",
"proxy",
"using",
"a",
"{",
"@",
"link",
"proxy",
"specification",
"}"
] | [
"rest",
"assured",
"proxy",
"=",
"proxy",
"specification",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.