|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CRestBuilder | |
---|---|
org.codegist.crest | Contains CRest interfaces and default implementations. |
Uses of CRestBuilder in org.codegist.crest |
---|
Methods in org.codegist.crest that return CRestBuilder | |
---|---|
CRestBuilder |
CRestBuilder.addProperties(Map<String,Object> customProperties)
Adds all custom properties every services build with the resulting CRest instance will be passed. |
CRestBuilder |
CRestBuilder.expectsJson()
Resulting CRest instance will create interface instances that will auto marshall the response from JSON to user object model. |
CRestBuilder |
CRestBuilder.expectsXml(Class<?> factory)
Resulting CRest instance will create interface instances that will auto marshall the response from XML to user object model. |
CRestBuilder |
CRestBuilder.expectsXml(String modelPackageName)
Resulting CRest instance will create interface instances that will auto marshall the response from XML to user object model. |
CRestBuilder |
CRestBuilder.overrideDefaultConfigWith(Document document)
Resulting CRest instance will overrides any configuration resulting from its current InterfaceConfigFactory with the given xml configuration. |
CRestBuilder |
CRestBuilder.overrideDefaultConfigWith(InterfaceConfigFactory overridesFactory)
Resulting CRest instance will overrides any configuration resulting from its internal InterfaceConfigFactory with the configuration issued by the given overridesFactory. |
CRestBuilder |
CRestBuilder.overrideDefaultConfigWith(Map<String,String> props)
Resulting CRest instance will overrides any configuration resulting from its current InterfaceConfigFactory with the given properties. |
CRestBuilder |
CRestBuilder.returnRawResults()
Resulting CRest instance will create interface instances that will return raw response. |
CRestBuilder |
CRestBuilder.setBooleanSerializer(String trueSerialized,
String falseSerialized)
Sets how boolean should be serialized. |
CRestBuilder |
CRestBuilder.setDateSerializerFormat(String format)
Sets date serializer format to the given format. |
CRestBuilder |
CRestBuilder.setListSerializerSeparator(String sep)
Sets the list separator for the list serializer |
CRestBuilder |
CRestBuilder.setProperties(Map<String,Object> customProperties)
Sets a custom properties every services build with the resulting CRest instance will be passed. |
CRestBuilder |
CRestBuilder.setProperty(String name,
Object value)
Sets a custom property every services build with the resulting CRest instance will be passed. |
CRestBuilder |
CRestBuilder.setRestService(RestService restService)
Overrides the rest service every services build with the resulting CRest instance will use. |
CRestBuilder |
CRestBuilder.setSerializer(Type type,
Serializer serializer)
Sets a custom serializer for the given type the resulting CRest instance will use to serialize method arguments. |
CRestBuilder |
CRestBuilder.useCglibProxies()
Resulting CRest instance will use cglib proxies to build interface instances. |
CRestBuilder |
CRestBuilder.useHttpClientRestService()
Resulting CRest instance's RestService will be a single threaded instance of HttpClientRestService . |
CRestBuilder |
CRestBuilder.useHttpClientRestService(int maxConnections)
Resulting CRest instance's RestService will be a multi-threaded instance of HttpClientRestService . |
CRestBuilder |
CRestBuilder.useHttpClientRestService(int maxConnections,
int maxConnectionsPerRoute)
Resulting CRest instance's RestService will be a multi-threaded instance of HttpClientRestService . |
CRestBuilder |
CRestBuilder.useJdkProxies()
Resulting CRest instance will use native jdk proxies to build interface instances. |
CRestBuilder |
CRestBuilder.usePreauthentifiedOAuth(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret)
Authentification parameters are added to the request headers. |
CRestBuilder |
CRestBuilder.usePreauthentifiedOAuth(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
boolean authParamsInHeaders)
Resulting CRest instance will authentify every requests using OAuth (http://oauth.net/) authentification mechanism, using a pre-authentified access token and consumer information. |
CRestBuilder |
CRestBuilder.withAnnotatedConfig()
Resulting CRest instance will handle annotated configurated interfaces. |
CRestBuilder |
CRestBuilder.withPropertiesConfig(Map<String,String> props)
Resulting CRest instance will handle properties based configuration. |
CRestBuilder |
CRestBuilder.withXmlConfig(Document document)
Resulting CRest instance will handle xml based configuration. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |