net.sf.sail.webapp.dao.sds.impl
Class AbstractHttpRestCommand
java.lang.Object
net.sf.sail.webapp.dao.sds.impl.AbstractHttpRestCommand
- Direct Known Subclasses:
- SdsCurnitCreateCommandHttpRestImpl, SdsCurnitListCommandHttpRestImpl, SdsCurnitUpdateCommandHttpRestImpl, SdsJnlpCreateCommandHttpRestImpl, SdsJnlpUpdateCommandHttpRestImpl, SdsOfferingCreateCommandHttpRestImpl, SdsOfferingGetCommandHttpRestImpl, SdsOfferingListCommandHttpRestImpl, SdsOfferingUpdateCommandHttpRestImpl, SdsUserCreateCommandHttpRestImpl, SdsUserUpdateCommandHttpRestImpl, SdsWorkgroupCreateCommandHttpRestImpl, SdsWorkgroupGetCommandHttpRestImpl, SdsWorkgroupMemberCreateCommandHttpRestImpl, SdsWorkgroupUpdateCommandHttpRestImpl
public abstract class AbstractHttpRestCommand
- extends Object
Abstract implementation of an SDS command using HTTP REST.
- Version:
- $Id$
- Author:
- Cynick Young
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_STRING_MAP
public static final Map<String,String> EMPTY_STRING_MAP
REQUEST_HEADERS_CONTENT
protected static final Map<String,String> REQUEST_HEADERS_CONTENT
REQUEST_HEADERS_ACCEPT
public static final Map<String,String> REQUEST_HEADERS_ACCEPT
logger
protected static final org.apache.commons.logging.Log logger
transport
protected HttpRestTransport transport
AbstractHttpRestCommand
public AbstractHttpRestCommand()
setTransport
public void setTransport(HttpRestTransport transport)
- Sets the http REST transport mechanism for the create command.
- Parameters:
transport - the transport to set
convertXmlInputStreamToXmlDocument
protected org.jdom.Document convertXmlInputStreamToXmlDocument(InputStream inputStream)
convertXMLInputStreamToString
protected static String convertXMLInputStreamToString(InputStream stream)
Copyright © 2012. All Rights Reserved.