Package com.github.tomakehurst.wiremock.client

Examples of com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder


  public static ResponseDefinition created() {
    return new ResponseDefinition(HTTP_CREATED, (byte[])null);
  }

    public static ResponseDefinition redirectTo(String path) {
        return new ResponseDefinitionBuilder()
                .withHeader("Location", path)
                .withStatus(HTTP_MOVED_TEMP)
                .build();
    }
View Full Code Here

TOP

Related Classes of com.github.tomakehurst.wiremock.client.ResponseDefinitionBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.