Package org.apache.camel.component.linkedin.api.model

Examples of org.apache.camel.component.linkedin.api.model.Person


        // parameter type is String
        headers.put("CamelLinkedIn.fields", "");
        // parameter type is Boolean
        headers.put("CamelLinkedIn.secure_urls", true);

        final Person result = requestBodyAndHeaders("direct://GETPERSON", null, headers);

        assertNotNull("getPerson result", result);
        LOG.debug("getPerson: " + result);
    }
View Full Code Here


        // parameter type is String
        headers.put("CamelLinkedIn.fields", null);
        // parameter type is Boolean
        headers.put("CamelLinkedIn.secure_urls", null);

        final Person result = requestBodyAndHeaders("direct://GETPERSONBYID", null, headers);

        assertNotNull("getPersonById result", result);
        LOG.debug("getPersonById: " + result);
    }
View Full Code Here

        // parameter type is String
        headers.put("CamelLinkedIn.fields", null);
        // parameter type is Boolean
        headers.put("CamelLinkedIn.secure_urls", null);

        final Person result = requestBodyAndHeaders("direct://GETPERSONBYURL", null, headers);

        assertNotNull("getPersonByUrl result", result);
        LOG.debug("getPersonByUrl: " + result);
    }
View Full Code Here

    @Test
    public void testGetPerson() throws Exception {
        execute(new Runnable() {
            @Override
            public void run() {
                final Person person = peopleResource.getPerson(":(id)", true);
                assertNotNull(person);
                assertNotNull(person.getId());
                LOG.debug("getPerson result: " + person);
            }
        });
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.component.linkedin.api.model.Person

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.