nl.coderight.jazz.util
Class XmlHttpRequest

java.lang.Object
  extended by nl.coderight.jazz.util.XmlHttpRequest

public final class XmlHttpRequest
extends Object

XmlHttpRequest provides a simple way to access a web service.


Constructor Summary
XmlHttpRequest(URL url)
           
 
Method Summary
 String get()
           
 int getResponseCode()
           
 String getResponseMessage()
           
 void post(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHttpRequest

public XmlHttpRequest(URL url)
Method Detail

getResponseCode

public int getResponseCode()
                    throws IOException
Throws:
IOException

getResponseMessage

public String getResponseMessage()
                          throws IOException
Throws:
IOException

get

public String get()
           throws IOException
Throws:
IOException

post

public void post(String xml)
          throws IOException
Throws:
IOException


Copyright 2010 CodeRight, All rights reserved.