Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
147 views

I want to send a request without User-Agent for testing purposes. I tried to use headerRemove but it doesn't work. Is there a way to achieve this? val request = HttpRequest.get("https://example....
kamer's user avatar
  • 53
0 votes
1 answer
94 views

I try to load a page content with: HttpResponse response2 = HttpRequest.get(_PAGE_URL).cookies(response.cookies()).send(); In a browser, the page source is full of javascript to generate the DOM, but ...
papgyo's user avatar
  • 87
0 votes
1 answer
149 views

Here is my code import jodd.http.*; import jodd.http.net.*; public class JoddQuestion { public static void main(String[] args) { SocketHttpConnectionProvider connectionProvider = new ...
jqian1997's user avatar
0 votes
1 answer
9k views

I am trying to run my java project from cmd and taking back this error: **Exception in thread "main" java.lang.ClassCastException: class [B cannot be cast to class [C ([B and [C are in ...
swolf's user avatar
  • 33
1 vote
1 answer
70 views

I have an app build with joy-5.0.13 where I cannot send some variable value to the template to be rendered on screen. I'm sure its something simple that I'm missing right now. This is my action: @...
Videanu Adrian's user avatar
0 votes
0 answers
174 views

Trying to implement watch file/folder events like (CREATE, DELETE, MODIFY, RENAME) with java 8 to java 11 versions for multiple platforms like windows/unix/linux with java nio package Observed ...
Sreenath VP's user avatar
0 votes
1 answer
76 views

My question is simple . MappingJackson2HttpMessageConverter is available in spring for data serialization from any rest service to client. Now I am working on another project and it has ...
Sam....'s user avatar
  • 161
1 vote
1 answer
122 views

How do I upload muliple files in the same request using jodd HTTP? I've tried something like the following but only the first file was posted. HttpRequest httpRequest = HttpRequest .post("...
Chris Bekas's user avatar
0 votes
1 answer
66 views

The current version 5.0.12, I believe, is built for Java 9. Which is the last version of jodd-http to be supported for java 7?
Deepak Marur's user avatar
1 vote
1 answer
44 views

I have a DecoraManager implementation : AppDecoraManager, and want to inject a service e.g.: FooService as: @PetiteInject FooService fooService; When resolveDecorator() is called I want to use ...
papgyo's user avatar
  • 87
1 vote
1 answer
69 views

Can someone please let me know how to configure the maxFileSize for fileUploads in Jodd, when using Joy? I've tried in joy.props, even under [joy.madvoc] section with the earlier working: ...
papgyo's user avatar
  • 87
1 vote
2 answers
1k views

Currently we are using JODD lib to do the JSON serialization. But it always serialize the empty object. I want object non-empty object to be serialized to a Json string. How can we do that? Expecting:...
Tianhao Wang's user avatar
1 vote
1 answer
64 views

In upgrading from an older version of Jodd I cannot identify how to display the conversation between the server and the client. In the past I wrote: smtpServer.debug(true); imapServer.setProperty("...
Ken Fogel's user avatar
1 vote
1 answer
140 views

I use receiveEmailAndMarkSeen(EmailFilter.filter().flag(Flags.Flag.SEEN,true)); to filter the message which I don't read, but the function returns empty array. If I set false it returns all the ...
Hertz's user avatar
  • 13
1 vote
2 answers
83 views

I have some code which works Ok with jodd 3.9.1 and I want to upgrade it to jodd version 4.1.4. but I have some errors: Example: @POST @Action public String save(){ ... some code for validation ...
Solic's user avatar
  • 21

15 30 50 per page
1
2 3 4 5