org.mockserver.model
Class HttpCallback

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.model.ObjectWithJsonToString
          extended by org.mockserver.model.Action
              extended by org.mockserver.model.HttpCallback

public class HttpCallback
extends Action

Author:
jamesdbloom

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mockserver.model.Action
Action.Type
 
Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
HttpCallback()
           
 
Method Summary
static HttpCallback callback()
           
 String getCallbackClass()
           
 Action.Type getType()
           
 HttpCallback withCallbackClass(String callbackClass)
          The class to callback as a fully qualified class name This calls must: - implement org.mockserver.mock.action.ExpectationCallback - have a zero argument constructor - be available in the classpath of the MockServer
 
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

HttpCallback

public HttpCallback()
Method Detail

callback

public static HttpCallback callback()

getType

public Action.Type getType()
Specified by:
getType in class Action

getCallbackClass

public String getCallbackClass()

withCallbackClass

public HttpCallback withCallbackClass(String callbackClass)
The class to callback as a fully qualified class name This calls must: - implement org.mockserver.mock.action.ExpectationCallback - have a zero argument constructor - be available in the classpath of the MockServer

Parameters:
callbackClass - class to callback as a fully qualified class name, i.e. "com.foo.MyExpectationCallback"


Copyright © 2016. All rights reserved.