Esri Geoportal Server
1.0

com.esri.gpt.control.livedata
Class HostResponse

java.lang.Object
  extended by com.esri.gpt.control.livedata.HostResponse

public class HostResponse
extends Object

Host response.


Constructor Summary
HostResponse()
          Creates instance of host respone.
HostResponse(String contentType, Document document)
          Creates instance of host response.
 
Method Summary
 String getContentType()
          Gets content type.
 Document getDocument()
           
 void setContentType(String contentType)
          Sets content type.
 void setDocument(Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostResponse

public HostResponse()
Creates instance of host respone.


HostResponse

public HostResponse(String contentType,
                    Document document)
Creates instance of host response.

Parameters:
contentType - content type
document - document
Method Detail

getContentType

public String getContentType()
Gets content type.

Returns:
the contentType

setContentType

public void setContentType(String contentType)
Sets content type.

Parameters:
contentType - the contentType to set

getDocument

public Document getDocument()
Returns:
the document

setDocument

public void setDocument(Document document)
Parameters:
document - the document to set

Esri Geoportal Server
1.0

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