public class ResponseParserRegistrar extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
ResponseParserRegistrar() |
ResponseParserRegistrar(ResponseParserRegistrar rpr) |
Modifier and Type | Method and Description |
---|---|
groovy.lang.MetaClass |
getMetaClass() |
Parser |
getNonDefaultParser(String contentType) |
Parser |
getParser(String contentType) |
Object |
getProperty(String property) |
boolean |
hasCustomParser(String contentType) |
boolean |
hasCustomParserExcludingDefaultParser(String contentType) |
Object |
invokeMethod(String method,
Object arguments) |
void |
registerDefaultParser(Parser parser) |
void |
registerParser(String contentType,
Parser parser) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
unregisterParser(String contentType) |
public ResponseParserRegistrar()
public ResponseParserRegistrar(ResponseParserRegistrar rpr)
public void registerDefaultParser(Parser parser)
public void unregisterParser(String contentType)
public boolean hasCustomParser(String contentType)
public boolean hasCustomParserExcludingDefaultParser(String contentType)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.