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(String uri,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
get(String uri,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(String 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(String uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType,
String token)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
Object requestEntity,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
|
static com.sun.jersey.api.client.ClientResponse |
post(String uri,
Object requestEntity,
org.apache.commons.httpclient.NameValuePair parameter,
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(String uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(String uri,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(String uri,
List<org.apache.commons.httpclient.NameValuePair> parameters,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(String uri,
Object requestEntity,
javax.ws.rs.core.MediaType contentType,
String token)
post
public static com.sun.jersey.api.client.ClientResponse post(String 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(String uri,
Object requestEntity,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType)
post
public static com.sun.jersey.api.client.ClientResponse post(String uri,
Object requestEntity,
org.apache.commons.httpclient.NameValuePair parameter,
javax.ws.rs.core.MediaType contentType,
String token)
post
public static com.sun.jersey.api.client.ClientResponse post(String 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(String uri,
javax.ws.rs.core.MediaType contentType)
get
public static com.sun.jersey.api.client.ClientResponse get(String uri,
javax.ws.rs.core.MediaType contentType,
String token)
createCookie
public static String createCookie(String token)
Copyright © 2010-2013 Planetary Data System. All Rights Reserved.