gov.nasa.pds.harvest.util
Class HttpUtils
java.lang.Object
gov.nasa.pds.harvest.util.HttpUtils
public class HttpUtils
- extends Object
Method Summary |
static String |
createCookie(String token)
|
static com.sun.jersey.api.client.ClientResponse |
get(URI uri,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
get(URI uri,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
Object requestEntity,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(URI uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType,
String token)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpUtils
public HttpUtils()
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType,
String token)
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType,
String token)
post
public static com.sun.jersey.api.client.ClientResponse post(URI uri,
Object requestEntity,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType,
String token)
get
public static com.sun.jersey.api.client.ClientResponse get(URI uri,
javax.ws.rs.core.MediaType contentType)
get
public static com.sun.jersey.api.client.ClientResponse get(URI uri,
javax.ws.rs.core.MediaType contentType,
String token)
createCookie
public static String createCookie(String token)
Copyright © 2005-2010 Planetary Data System. All Rights Reserved.