Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #328: Allow injecting mapper used for request serialization #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alechenninger
Copy link
Contributor

#328

TODO:

  • Does removing the content length header from request prevent persistent connections?

@coveralls
Copy link

coveralls commented Jan 12, 2017

Coverage Status

Coverage decreased (-68.8%) to 0.0% when pulling 777b596 on alechenninger:request-mapper into a658cfc on lightblue-platform:master.

@@ -39,6 +39,7 @@ public HttpMethod getHttpMethod() {
/**
* Requst body as string, defaults to getBodyJson().toString()
*/
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why? Or perhaps what should be used instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getBodyJson should be used instead. This uses a default global object mapper so it can't be configured. I'll add a comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it can be configured, but isn't configured the same as for responses. Details in #328

@bvulaj
Copy link
Member

bvulaj commented Nov 1, 2017

@alechenninger @dcrissman Should we have merged this forever ago?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants