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 |
hasCustomParserExludingDefaultParser(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 groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic void registerDefaultParser(Parser parser)
public void unregisterParser(String contentType)
public boolean hasCustomParser(String contentType)
public boolean hasCustomParserExludingDefaultParser(String contentType)
Copyright © 2010–2014. All rights reserved.