com.eviware.soapui.impl.rest.support
Class RestRequestConverter

java.lang.Object
  extended by com.eviware.soapui.impl.rest.support.RestRequestConverter

public class RestRequestConverter
extends java.lang.Object

Convert old-style REST Requests to new ones, creating REST Methods for them or placing them into existing Methods.

Author:
Dain Nilsson

Nested Class Summary
static class RestRequestConverter.RestConversionException
           
 
Constructor Summary
RestRequestConverter()
           
 
Method Summary
static com.eviware.soapui.config.HttpRequestConfig convert(com.eviware.soapui.config.OldRestRequestConfig old)
           
static void convert(RestResource resource, com.eviware.soapui.config.OldRestRequestConfig oldConfig)
           
static RestMethod getMethod(RestResource resource, java.lang.String methodType, java.lang.String requestName)
           
static RestResource resolveResource(RestTestRequestStep requestStep)
           
static com.eviware.soapui.config.HttpRequestConfig updateIfNeeded(org.apache.xmlbeans.XmlObject config)
           
static void updateRestTestRequest(RestTestRequestStep restTestRequestStep)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestRequestConverter

public RestRequestConverter()
Method Detail

convert

public static void convert(RestResource resource,
                           com.eviware.soapui.config.OldRestRequestConfig oldConfig)

getMethod

public static RestMethod getMethod(RestResource resource,
                                   java.lang.String methodType,
                                   java.lang.String requestName)

resolveResource

public static RestResource resolveResource(RestTestRequestStep requestStep)

convert

public static com.eviware.soapui.config.HttpRequestConfig convert(com.eviware.soapui.config.OldRestRequestConfig old)

updateIfNeeded

public static com.eviware.soapui.config.HttpRequestConfig updateIfNeeded(org.apache.xmlbeans.XmlObject config)

updateRestTestRequest

public static void updateRestTestRequest(RestTestRequestStep restTestRequestStep)


Copyright © 2005-2010 eviware.com. All Rights Reserved.