OpenShift Java Client 2.5.0.Final

com.openshift.internal.client.response
Class OpenShiftJsonDTOFactory

java.lang.Object
  extended by com.openshift.internal.client.response.OpenShiftJsonDTOFactory
All Implemented Interfaces:
IRestResponseFactory

public class OpenShiftJsonDTOFactory
extends Object
implements IRestResponseFactory

A factory for creating DTO objects.

Author:
Xavier Coulon, Andre Dietisheim

Constructor Summary
OpenShiftJsonDTOFactory()
           
 
Method Summary
 RestResponse get(String json)
          Returns a RestResponse instance for a given rest response string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenShiftJsonDTOFactory

public OpenShiftJsonDTOFactory()
Method Detail

get

public RestResponse get(String json)
                 throws OpenShiftException
Description copied from interface: IRestResponseFactory
Returns a RestResponse instance for a given rest response string.

Specified by:
get in interface IRestResponseFactory
Returns:
RestResponse instance
Throws:
OpenShiftException
See Also:
RestResponse

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.