changeset 15:0adbec4c7091

add jersey libraries and RequestTest.java
author one
date Tue, 02 Oct 2012 11:41:23 +0900
parents 792fdb0c10bf
children 7cdc9d19834f
files .classpath lib/jersey-client-1.12.jar lib/jersey-core-1.12.jar lib/jersey-json-1.12.jar lib/jersey-server-1.12.jar test/RequestTest.java
diffstat 6 files changed, 182 insertions(+), 97 deletions(-) [+]
line wrap: on
line diff
--- a/.classpath	Tue Oct 02 11:40:20 2012 +0900
+++ b/.classpath	Tue Oct 02 11:41:23 2012 +0900
@@ -1,98 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-  <classpathentry output=".target" path="app" kind="src"></classpathentry>
-  <classpathentry output=".target" path="test" kind="src"></classpathentry>
-  <classpathentry path="./lib/blueprints-core-2.2.0-SNAPSHOT.jar" kind="lib"></classpathentry>
-  <classpathentry path="./lib/gremlin-java-2.2.0-SNAPSHOT.jar" kind="lib"></classpathentry>
-  <classpathentry path="./lib/jackson-annotations-2.0.2.jar" kind="lib"></classpathentry>
-  <classpathentry path="./lib/jackson-core-2.0.2.jar" kind="lib"></classpathentry>
-  <classpathentry path="./lib/jackson-databind-2.0.2.jar" kind="lib"></classpathentry>
-  <classpathentry path="./lib/pipes-2.2.0-SNAPSHOT.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/workspace/Consensus/target/scala-2.9.1/classes_managed" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/play/play_2.9.1/2.0.3/jars/play_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/play/templates_2.9.1/2.0.3/jars/templates_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/repository/local/com.github.scala-incubator.io/scala-io-file_2.9.1/0.4.0/jars/scala-io-file_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/repository/local/com.github.scala-incubator.io/scala-io-core_2.9.1/0.4.0/jars/scala-io-core_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/repository/local/com.github.jsuereth.scala-arm/scala-arm_2.9.1/1.1/jars/scala-arm_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.typesafe.akka/akka-actor/2.0.2/jars/akka-actor.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/play/anorm_2.9.1/2.0.3/jars/anorm_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/io.netty/netty/3.5.0.Final/bundles/netty.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.slf4j/slf4j-api/1.6.4/jars/slf4j-api.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.slf4j/jul-to-slf4j/1.6.4/jars/jul-to-slf4j.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.slf4j/jcl-over-slf4j/1.6.4/jars/jcl-over-slf4j.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/ch.qos.logback/logback-core/1.0.0/jars/logback-core.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/ch.qos.logback/logback-classic/1.0.0/jars/logback-classic.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.typesafe.akka/akka-slf4j/2.0.2/jars/akka-slf4j.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.google.guava/guava/10.0.1/jars/guava.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.google.code.findbugs/jsr305/1.3.9/jars/jsr305.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.avaje/ebean/2.7.3/jars/ebean.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.1.Final/jars/hibernate-jpa-2.0-api.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.h2database/h2/1.3.158/jars/h2.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.scala-tools/scala-stm_2.9.1/0.5/jars/scala-stm_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.jolbox/bonecp/0.7.1.RELEASE/bundles/bonecp.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.yaml/snakeyaml/1.9/bundles/snakeyaml.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.hibernate/hibernate-validator/4.2.0.Final/jars/hibernate-validator.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/javax.validation/validation-api/1.0.0.GA/jars/validation-api.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.springframework/spring-context/3.0.7.RELEASE/jars/spring-context.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.springframework/spring-core/3.0.7.RELEASE/jars/spring-core.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.springframework/spring-beans/3.0.7.RELEASE/jars/spring-beans.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/joda-time/joda-time/2.0/jars/joda-time.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.joda/joda-convert/1.1/jars/joda-convert.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/javassist/javassist/3.12.1.GA/jars/javassist.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-lang/commons-lang/2.6/jars/commons-lang.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.ning/async-http-client/1.7.0/jars/async-http-client.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/oauth.signpost/signpost-core/1.2.1.1/jars/signpost-core.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-codec/commons-codec/1.3/jars/commons-codec.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.codahale/jerkson_2.9.1/0.5.0/jars/jerkson_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.codehaus.jackson/jackson-core-asl/1.9.9/jars/jackson-core-asl.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.codehaus.jackson/jackson-mapper-asl/1.9.9/jars/jackson-mapper-asl.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.reflections/reflections/0.9.6/jars/reflections.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/javax.servlet/javax.servlet-api/3.0.1/jars/javax.servlet-api.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/javax.transaction/jta/1.1/jars/jta.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/tyrex/tyrex/1.0.1/jars/tyrex.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/jaxen/jaxen/1.1.3/jars/jaxen.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.sf.ehcache/ehcache-core/2.5.0/jars/ehcache-core.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/play/play-test_2.9.1/2.0.3/jars/play-test_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.specs2/specs2_2.9.1/1.9/jars/specs2_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.specs2/specs2-scalaz-core_2.9.1/6.0.1/jars/specs2-scalaz-core_2.9.1.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/com.novocode/junit-interface/0.8/jars/junit-interface.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/junit/junit/4.8.2/jars/junit.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.scala-tools.testing/test-interface/0.5/jars/test-interface.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.fluentlenium/fluentlenium-festassert/0.5.6/jars/fluentlenium-festassert.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.fluentlenium/fluentlenium-core/0.5.6/jars/fluentlenium-core.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-java/2.16.1/jars/selenium-java.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-android-driver/2.16.1/jars/selenium-android-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-remote-driver/2.16.1/jars/selenium-remote-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/cglib/cglib-nodep/2.1_3/jars/cglib-nodep.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.json/json/20080701/jars/json.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-api/2.16.1/jars/selenium-api.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.apache.httpcomponents/httpclient/4.1.2/jars/httpclient.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.apache.httpcomponents/httpcore/4.1.3/jars/httpcore.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-logging/commons-logging/1.1.1/jars/commons-logging.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-codec/commons-codec/1.4/jars/commons-codec.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.apache.commons/commons-exec/1.1/jars/commons-exec.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.java.dev.jna/jna/3.4.0/jars/jna.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.java.dev.jna/platform/3.4.0/jars/platform.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-chrome-driver/2.16.1/jars/selenium-chrome-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-htmlunit-driver/2.16.1/jars/selenium-htmlunit-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.sourceforge.htmlunit/htmlunit/2.9/jars/htmlunit.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/xalan/xalan/2.7.1/jars/xalan.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/xalan/serializer/2.7.1/jars/serializer.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/xml-apis/xml-apis/1.3.04/jars/xml-apis.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-collections/commons-collections/3.2.1/jars/commons-collections.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.apache.httpcomponents/httpmime/4.1.2/jars/httpmime.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.sourceforge.htmlunit/htmlunit-core-js/2.9/jars/htmlunit-core-js.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/xerces/xercesImpl/2.9.1/jars/xercesImpl.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.sourceforge.nekohtml/nekohtml/1.9.15/jars/nekohtml.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/net.sourceforge.cssparser/cssparser/0.9.5/jars/cssparser.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.w3c.css/sac/1.3/jars/sac.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/commons-io/commons-io/2.0.1/jars/commons-io.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-firefox-driver/2.16.1/jars/selenium-firefox-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-ie-driver/2.16.1/jars/selenium-ie-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-iphone-driver/2.16.1/jars/selenium-iphone-driver.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.seleniumhq.selenium/selenium-support/2.16.1/jars/selenium-support.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.easytesting/fest-assert/1.4/jars/fest-assert.jar" kind="lib"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/../repository/local/org.easytesting/fest-util/1.1.6/jars/fest-util.jar" kind="lib"></classpathentry>
-  <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"></classpathentry>
-  <classpathentry path="bin" kind="output"></classpathentry>
-  <classpathentry path="/Users/aotokage/opt/play/framework/sbt/boot/scala-2.9.1/lib/scala-library.jar" kind="lib"></classpathentry>
-</classpath>
\ No newline at end of file
+	<classpathentry kind="src" output=".target" path="app"/>
+	<classpathentry kind="src" output=".target" path="test"/>
+	<classpathentry kind="lib" path="lib/blueprints-core-2.2.0-SNAPSHOT.jar"/>
+	<classpathentry kind="lib" path="lib/gremlin-java-2.2.0-SNAPSHOT.jar"/>
+	<classpathentry kind="lib" path="lib/jackson-annotations-2.0.2.jar"/>
+	<classpathentry kind="lib" path="lib/jackson-core-2.0.2.jar"/>
+	<classpathentry kind="lib" path="lib/jackson-databind-2.0.2.jar"/>
+	<classpathentry kind="lib" path="lib/pipes-2.2.0-SNAPSHOT.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/workspace/Consensus/target/scala-2.9.1/classes_managed"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/play/play_2.9.1/2.0.3/jars/play_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/play/templates_2.9.1/2.0.3/jars/templates_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.github.scala-incubator.io/scala-io-file_2.9.1/0.4.0/jars/scala-io-file_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.github.scala-incubator.io/scala-io-core_2.9.1/0.4.0/jars/scala-io-core_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.github.jsuereth.scala-arm/scala-arm_2.9.1/1.1/jars/scala-arm_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.typesafe.akka/akka-actor/2.0.2/jars/akka-actor.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/play/anorm_2.9.1/2.0.3/jars/anorm_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/io.netty/netty/3.5.0.Final/bundles/netty.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.slf4j/slf4j-api/1.6.4/jars/slf4j-api.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.slf4j/jul-to-slf4j/1.6.4/jars/jul-to-slf4j.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.slf4j/jcl-over-slf4j/1.6.4/jars/jcl-over-slf4j.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/ch.qos.logback/logback-core/1.0.0/jars/logback-core.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/ch.qos.logback/logback-classic/1.0.0/jars/logback-classic.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.typesafe.akka/akka-slf4j/2.0.2/jars/akka-slf4j.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.google.guava/guava/10.0.1/jars/guava.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.google.code.findbugs/jsr305/1.3.9/jars/jsr305.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.avaje/ebean/2.7.3/jars/ebean.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.1.Final/jars/hibernate-jpa-2.0-api.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.h2database/h2/1.3.158/jars/h2.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.scala-tools/scala-stm_2.9.1/0.5/jars/scala-stm_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.jolbox/bonecp/0.7.1.RELEASE/bundles/bonecp.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.yaml/snakeyaml/1.9/bundles/snakeyaml.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.hibernate/hibernate-validator/4.2.0.Final/jars/hibernate-validator.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/javax.validation/validation-api/1.0.0.GA/jars/validation-api.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.springframework/spring-context/3.0.7.RELEASE/jars/spring-context.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.springframework/spring-core/3.0.7.RELEASE/jars/spring-core.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.springframework/spring-beans/3.0.7.RELEASE/jars/spring-beans.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/joda-time/joda-time/2.0/jars/joda-time.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.joda/joda-convert/1.1/jars/joda-convert.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/javassist/javassist/3.12.1.GA/jars/javassist.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-lang/commons-lang/2.6/jars/commons-lang.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.ning/async-http-client/1.7.0/jars/async-http-client.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/oauth.signpost/signpost-core/1.2.1.1/jars/signpost-core.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-codec/commons-codec/1.3/jars/commons-codec.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.codahale/jerkson_2.9.1/0.5.0/jars/jerkson_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.codehaus.jackson/jackson-core-asl/1.9.9/jars/jackson-core-asl.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.codehaus.jackson/jackson-mapper-asl/1.9.9/jars/jackson-mapper-asl.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.reflections/reflections/0.9.6/jars/reflections.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/javax.servlet/javax.servlet-api/3.0.1/jars/javax.servlet-api.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/javax.transaction/jta/1.1/jars/jta.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/tyrex/tyrex/1.0.1/jars/tyrex.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/jaxen/jaxen/1.1.3/jars/jaxen.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.sf.ehcache/ehcache-core/2.5.0/jars/ehcache-core.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/play/play-test_2.9.1/2.0.3/jars/play-test_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.specs2/specs2_2.9.1/1.9/jars/specs2_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.specs2/specs2-scalaz-core_2.9.1/6.0.1/jars/specs2-scalaz-core_2.9.1.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/com.novocode/junit-interface/0.8/jars/junit-interface.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/junit/junit/4.8.2/jars/junit.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.scala-tools.testing/test-interface/0.5/jars/test-interface.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.fluentlenium/fluentlenium-festassert/0.5.6/jars/fluentlenium-festassert.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.fluentlenium/fluentlenium-core/0.5.6/jars/fluentlenium-core.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-java/2.16.1/jars/selenium-java.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-android-driver/2.16.1/jars/selenium-android-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-remote-driver/2.16.1/jars/selenium-remote-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/cglib/cglib-nodep/2.1_3/jars/cglib-nodep.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.json/json/20080701/jars/json.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-api/2.16.1/jars/selenium-api.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.apache.httpcomponents/httpclient/4.1.2/jars/httpclient.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.apache.httpcomponents/httpcore/4.1.3/jars/httpcore.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-logging/commons-logging/1.1.1/jars/commons-logging.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-codec/commons-codec/1.4/jars/commons-codec.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.apache.commons/commons-exec/1.1/jars/commons-exec.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.java.dev.jna/jna/3.4.0/jars/jna.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.java.dev.jna/platform/3.4.0/jars/platform.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-chrome-driver/2.16.1/jars/selenium-chrome-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-htmlunit-driver/2.16.1/jars/selenium-htmlunit-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.sourceforge.htmlunit/htmlunit/2.9/jars/htmlunit.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/xalan/xalan/2.7.1/jars/xalan.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/xalan/serializer/2.7.1/jars/serializer.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/xml-apis/xml-apis/1.3.04/jars/xml-apis.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-collections/commons-collections/3.2.1/jars/commons-collections.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.apache.httpcomponents/httpmime/4.1.2/jars/httpmime.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.sourceforge.htmlunit/htmlunit-core-js/2.9/jars/htmlunit-core-js.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/xerces/xercesImpl/2.9.1/jars/xercesImpl.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.sourceforge.nekohtml/nekohtml/1.9.15/jars/nekohtml.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/net.sourceforge.cssparser/cssparser/0.9.5/jars/cssparser.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.w3c.css/sac/1.3/jars/sac.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/commons-io/commons-io/2.0.1/jars/commons-io.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-firefox-driver/2.16.1/jars/selenium-firefox-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-ie-driver/2.16.1/jars/selenium-ie-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-iphone-driver/2.16.1/jars/selenium-iphone-driver.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.seleniumhq.selenium/selenium-support/2.16.1/jars/selenium-support.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.easytesting/fest-assert/1.4/jars/fest-assert.jar"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/repository/local/org.easytesting/fest-util/1.1.6/jars/fest-util.jar"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="lib" path="/Users/aotokage/opt/play/framework/sbt/boot/scala-2.9.1/lib/scala-library.jar"/>
+	<classpathentry kind="lib" path="lib/jersey-client-1.12.jar"/>
+	<classpathentry kind="lib" path="lib/jersey-core-1.12.jar"/>
+	<classpathentry kind="lib" path="lib/jersey-server-1.12.jar"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
Binary file lib/jersey-client-1.12.jar has changed
Binary file lib/jersey-core-1.12.jar has changed
Binary file lib/jersey-json-1.12.jar has changed
Binary file lib/jersey-server-1.12.jar has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/RequestTest.java	Tue Oct 02 11:41:23 2012 +0900
@@ -0,0 +1,81 @@
+import javax.ws.rs.core.MediaType;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import com.sun.jersey.api.client.Client;
+import com.sun.jersey.api.client.ClientResponse;
+import com.sun.jersey.api.client.WebResource;
+
+
+public class RequestTest {
+	final static String SERVER_ROOT_URI = "http://localhost:9000";
+
+	public static void main(String[] args) throws JSONException {
+
+		createUser("taro");
+		getUser("taro");
+		getUserInfo("taro","requests/");
+		getUserInfo("taro","claims/");
+		getUserInfo("taro","consensus/");
+		createClaim();
+
+
+		
+	}
+	
+	public static void createClaim() throws JSONException {
+		JSONObject toulmin = new JSONObject();
+		toulmin.put("title", "アプリでGraphDBを利用する。");
+		toulmin.put("contents", "最近話題のデータベースとしてGraphDBがある。我々のアプリでは、新しい技術のためにもGraphDBを利用したい。");
+		toulmin.put("d","絶対");
+		toulmin.put("w","GraphDBの実用例 etc...");
+		toulmin.put("b", "GraphDBの最新動向 etc...");
+		toulmin.put("r","GraphDBの実用例 etc...");
+		toulmin.put("q", "");
+		JSONObject jobj = new JSONObject();
+	}
+	
+	public static void getUserInfo(String name, String preUri) {
+		final String uri = SERVER_ROOT_URI + "/users/"+preUri+name;
+		WebResource resource = Client.create().resource(uri);
+		ClientResponse response = resource.get(ClientResponse.class);
+		System.out.println(String.format("GET on [%s], status code [%d]", uri, response.getStatus()));
+		System.out.println(response.getEntity(String.class));
+	}
+	
+	public static void createUser(String name) {
+		final String uri = SERVER_ROOT_URI + "/users/create/"+name;
+		WebResource resource = Client.create().resource(uri);
+		ClientResponse response = resource.put(ClientResponse.class);
+		System.out.println(String.format("PUT on [%s], status code [%d]", uri, response.getStatus()));
+		System.out.println(response.getEntity(String.class));
+		
+	}
+
+	public static void getUser(String name) {
+		final String uri = SERVER_ROOT_URI + "/users/browse/"+name;
+		WebResource resource = Client.create().resource(uri);
+		ClientResponse response = resource.get(ClientResponse.class);
+		System.out.println(String.format("GET on [%s], status code [%d]", uri, response.getStatus()));
+		System.out.println(response.getEntity(String.class));
+	}
+
+	
+	public static void postName() throws JSONException {
+		final String uri = SERVER_ROOT_URI + "/hello";
+		WebResource resource = Client.create().resource(uri);
+		JSONObject jobj = new JSONObject();
+		jobj.put("name","taro");
+//		ClientResponse response = resource.accept(MediaType.APPLICATION_JSON)
+		ClientResponse response = resource.header("Content-type",MediaType.APPLICATION_JSON)
+		.entity(jobj.toString())
+		.post(ClientResponse.class);
+		System.out.println(String.format("POST on [%s], status code [%d]", uri, response.getStatus()));
+		System.out.println(response.getEntity(String.class));
+		
+	}
+	
+	
+	
+}