org.mockserver.model
Class OutboundHttpRequest

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.model.ObjectWithJsonToString
          extended by org.mockserver.model.Not
              extended by org.mockserver.model.HttpRequest
                  extended by org.mockserver.model.OutboundHttpRequest

public class OutboundHttpRequest
extends HttpRequest

Author:
jamesdbloom

Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
OutboundHttpRequest(String hostname, int port, String contextPath, HttpRequest httpRequest)
           
 
Method Summary
 String getContextPath()
           
 InetSocketAddress getDestination()
           
static OutboundHttpRequest outboundRequest(InetSocketAddress inetSocketAddress, String contextPath, HttpRequest httpRequest)
           
static OutboundHttpRequest outboundRequest(String hostname, int port, String contextPath, HttpRequest httpRequest)
           
 OutboundHttpRequest withSsl(boolean isSsl)
           
 
Methods inherited from class org.mockserver.model.HttpRequest
containsHeader, getBody, getBodyAsRawBytes, getBodyAsString, getCookies, getFirstHeader, getHeaders, getMethod, getMethod, getPath, getQueryStringParameters, hasQueryStringParameter, hasQueryStringParameter, isKeepAlive, isSecure, matches, replaceHeader, request, request, withBody, withBody, withBody, withBody, withCookie, withCookie, withCookie, withCookies, withCookies, withHeader, withHeader, withHeader, withHeaders, withHeaders, withKeepAlive, withMethod, withMethod, withPath, withPath, withQueryStringParameter, withQueryStringParameter, withQueryStringParameter, withQueryStringParameters, withQueryStringParameters, withQueryStringParameters, withSecure
 
Methods inherited from class org.mockserver.model.Not
getNot, isNot, not, not, setNot
 
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutboundHttpRequest

public OutboundHttpRequest(String hostname,
                           int port,
                           String contextPath,
                           HttpRequest httpRequest)
Method Detail

outboundRequest

public static OutboundHttpRequest outboundRequest(InetSocketAddress inetSocketAddress,
                                                  String contextPath,
                                                  HttpRequest httpRequest)

outboundRequest

public static OutboundHttpRequest outboundRequest(String hostname,
                                                  int port,
                                                  String contextPath,
                                                  HttpRequest httpRequest)

getDestination

public InetSocketAddress getDestination()

getContextPath

public String getContextPath()

withSsl

public OutboundHttpRequest withSsl(boolean isSsl)


Copyright © 2016. All rights reserved.