{"id":120,"date":"2012-11-11T19:20:12","date_gmt":"2012-11-11T19:20:12","guid":{"rendered":"http:\/\/ilias-laptop\/examples\/core-java\/reflection\/create-proxy-object\/"},"modified":"2013-08-20T20:04:01","modified_gmt":"2013-08-20T17:04:01","slug":"create-proxy-object","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/","title":{"rendered":"Create Proxy object"},"content":{"rendered":"<p>With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a large object in memory, a file, or some\u00a0other resource that is expensive or impossible to duplicate. In short, to create a Proxy object we have followed the steps below:<\/p>\n<ul>\n<li>We have created an interface, <code>MyInterface<\/code> with a method and the implementation of the interface, <code>MyInterfaceImpl<\/code>.<\/li>\n<li>We have created <code>MyProxy<\/code> class,that implements the <a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/lang\/reflect\/InvocationHandler.html\" target=\"_blank\">InvocationHandler<\/a>. It has an <a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/lang\/Object.html\" target=\"_blank\">Object<\/a> o and a constructor where it initializes\u00a0its object. It also has a method, <code>Object invoke(Object proxy, Method m, Object[] args)<\/code>, that uses <code>invoke(Object obj, Object... args)<\/code> API method of <a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/lang\/reflect\/Method.html\" target=\"_blank\">Method<\/a> to get the underlying method represented by this Method object, on the specified object with the specified parameters and returns this result.<\/li>\n<li>We create an instance of a proxy class for the specified interface that dispatches method invocations to the specified invocation handler, using <code>newProxyInstance(ClassLoader loader, Class&lt;?&gt;[] interfaces, InvocationHandler h)<\/code> API method of <a href=\"http:\/\/docs.oracle.com\/javase\/7\/docs\/api\/java\/lang\/reflect\/Proxy.html\" target=\"_blank\">Proxy<\/a>.<\/li>\n<li>Then we invoke the method of the object.<\/li>\n<\/ul>\n<p>Let\u2019s take a look at the code snippet that follows:<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre class=\"brush:java\">\r\npackage com.javacodegeeks.snippets.core;\r\n\r\nimport java.lang.reflect.InvocationHandler;\r\nimport java.lang.reflect.InvocationTargetException;\r\nimport java.lang.reflect.Method;\r\nimport java.lang.reflect.Proxy;\r\n\r\npublic class CreateProxyObject {\r\n\t\r\n\tpublic static void main(String[] args) {\r\n\t\t\r\n\t\t\/\/ return an instance of a proxy class for the specified interfaces\r\n\t    \/\/ that dispatches method invocations to the specified invocation handler\r\n\t\tMyInterface myintf = (MyInterface)Proxy.newProxyInstance(\r\n\t\t\t    MyInterface.class.getClassLoader(),\r\n\t\t\t    new Class[]{MyInterface.class},\r\n\t\t\t    new MyProxy(new MyInterfaceImpl())\r\n\t\t);\r\n\r\n\t\t\/\/ Invoke the method\r\n\t\tmyintf.method();\r\n\t\t\r\n\t}\r\n\t\r\n\tprivate static interface MyInterface {\r\n\t    void method();\r\n\t}\r\n\r\n\tprivate static class MyInterfaceImpl implements MyInterface {\r\n\t    public void method() {\r\n\t    \tSystem.out.println(\"Plain method is invoked\");\r\n\t    }\r\n\t}\r\n\t\r\n\tprivate static class MyProxy implements InvocationHandler {\r\n\t    \r\n\t\tObject obj;\r\n\t    public MyProxy(Object o) {\r\n\t\r\n  obj = o;\r\n\t    }\r\n\r\n\t    public Object invoke(Object proxy, Method m, Object[] args) throws Throwable {\r\n\t    \t\r\n\t\r\n  Object result = null;\r\n\t\r\n \r\n\t\r\n  try {\r\n\t\r\n\r\nSystem.out.println(\"Proxy Class is called before method invocation\");\r\n\t\r\n\r\nresult = m.invoke(obj, args);\r\n\t\r\n  }\r\n\t\r\n  catch (InvocationTargetException e) {\r\n\t\r\n  \tSystem.out.println(\"Invocation Target Exception: \" + e);\r\n\t\r\n  }\r\n\t\r\n  catch (Exception e) {\r\n\t\r\n  \tSystem.out.println(\"Invocation Target Exception: \" + e);\r\n\t\r\n  }\r\n\t\r\n  finally {\r\n\t\r\n  \tSystem.out.println(\"Proxy Class is called after method invocation\");\r\n\t\r\n  }\r\n\t\r\n  return result;\r\n\t\r\n  \r\n\t    }\r\n\t    \r\n\t}\r\n\r\n}\r\n<\/pre>\n<p>\n<b>Output:<\/b><\/p>\n<pre style=\"background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\">\r\n<code style=\"color: black; word-wrap: normal;\">Proxy Class is called before method invocation\r\nPlain method is invoked\r\nProxy Class is called after method invocation<\/code>\r\n<\/pre>\n<p>&nbsp;<br \/>\nThis was an example of how to create a Proxy object in Java.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a large object in memory, a file, or some\u00a0other resource that is expensive or impossible to duplicate. In short, to create a Proxy object we have followed the &hellip;<\/p>\n","protected":false},"author":7,"featured_media":1204,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[189,1047],"class_list":["post-120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-reflection","tag-core-java-2","tag-reflection"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create Proxy object - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Proxy object - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-11T19:20:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-08-20T17:04:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ilias Tsagklis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ilias Tsagklis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\"},\"author\":{\"name\":\"Ilias Tsagklis\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e\"},\"headline\":\"Create Proxy object\",\"datePublished\":\"2012-11-11T19:20:12+00:00\",\"dateModified\":\"2013-08-20T17:04:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\"},\"wordCount\":189,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg\",\"keywords\":[\"core java\",\"reflection\"],\"articleSection\":[\"reflection\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\",\"name\":\"Create Proxy object - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg\",\"datePublished\":\"2012-11-11T19:20:12+00:00\",\"dateModified\":\"2013-08-20T17:04:01+00:00\",\"description\":\"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"Bipartite Graph\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Core Java\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"reflection\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/reflection\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Create Proxy object\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e\",\"name\":\"Ilias Tsagklis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg\",\"caption\":\"Ilias Tsagklis\"},\"description\":\"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.\",\"sameAs\":[\"http:\/\/www.iliastsagklis.com\/\",\"https:\/\/www.linkedin.com\/in\/iliastsagklis\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/ilias-tsagklis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create Proxy object - Java Code Geeks","description":"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/","og_locale":"en_US","og_type":"article","og_title":"Create Proxy object - Java Code Geeks","og_description":"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a","og_url":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-11-11T19:20:12+00:00","article_modified_time":"2013-08-20T17:04:01+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg","type":"image\/jpeg"}],"author":"Ilias Tsagklis","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Ilias Tsagklis","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/"},"author":{"name":"Ilias Tsagklis","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e"},"headline":"Create Proxy object","datePublished":"2012-11-11T19:20:12+00:00","dateModified":"2013-08-20T17:04:01+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/"},"wordCount":189,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg","keywords":["core java","reflection"],"articleSection":["reflection"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/","url":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/","name":"Create Proxy object - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg","datePublished":"2012-11-11T19:20:12+00:00","dateModified":"2013-08-20T17:04:01+00:00","description":"With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning as an interface to a network connection, a","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/java-logo.jpg","width":150,"height":150,"caption":"Bipartite Graph"},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/reflection\/create-proxy-object\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java Development","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/"},{"@type":"ListItem","position":3,"name":"Core Java","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/"},{"@type":"ListItem","position":4,"name":"reflection","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/reflection\/"},{"@type":"ListItem","position":5,"name":"Create Proxy object"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e","name":"Ilias Tsagklis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg","caption":"Ilias Tsagklis"},"description":"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.","sameAs":["http:\/\/www.iliastsagklis.com\/","https:\/\/www.linkedin.com\/in\/iliastsagklis"],"url":"https:\/\/examples.javacodegeeks.com\/author\/ilias-tsagklis\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=120"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/120\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/1204"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}