Esri Geoportal Server
1.0

com.esri.gpt.control.livedata.selector
Class HttpRequestDefinition

java.lang.Object
  extended by com.esri.gpt.control.livedata.selector.HttpRequestDefinition

public class HttpRequestDefinition
extends Object

Request definition.


Field Summary
static Comparator<HttpRequestDefinition> CASE_INSENCITIVE_ORDER
          comparator
 
Constructor Summary
HttpRequestDefinition(String url)
          Creates GET request definition.
HttpRequestDefinition(String url, String content)
          Creates POST request definition.
 
Method Summary
 ContentProvider getContentProvider()
          Gets content provider.
 String getUrl()
          Gets URL.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CASE_INSENCITIVE_ORDER

public static final Comparator<HttpRequestDefinition> CASE_INSENCITIVE_ORDER
comparator

Constructor Detail

HttpRequestDefinition

public HttpRequestDefinition(String url)
Creates GET request definition.

Parameters:
url - URL

HttpRequestDefinition

public HttpRequestDefinition(String url,
                             String content)
Creates POST request definition.

Parameters:
url - URL
content - POST body
Method Detail

getUrl

public String getUrl()
Gets URL.

Returns:
URL

getContentProvider

public ContentProvider getContentProvider()
Gets content provider.

Returns:
content provider for POST request, null for GET request

toString

public String toString()
Overrides:
toString in class Object

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.