[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450451#comment-17450451
 ] 

ASF subversion and git services commented on HTTPCLIENT-2189:
-------------------------------------------------------------

Commit d323e0d68475e6b04df59bc268df832480e2dc4a in httpcomponents-client's 
branch refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=d323e0d ]

HTTPCLIENT-2189 - Cookie and Cache APIs to use Java time primitives


> Use Time APIs for date for the remain classes in the HttpClient API.
> --------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2189
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2189
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Arturo Bernal
>            Priority: Minor
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
>  
>  
> Please note that I gonna need to add a new patter to allow deserializer cache 
> object.
>  
> {code:java}
> Pattern.compile("^(?:\\[+L)?java\\.time\\..*$"),{code}
>  
> the result should be something like
>  
> {code:java}
> private static final List<Pattern> ALLOWED_CLASS_PATTERNS = 
> Collections.unmodifiableList(Arrays.asList(
>         Pattern.compile("^(\\[L)?org\\.apache\\.hc\\.(.*)"),
>         Pattern.compile("^(?:\\[+L)?java\\.util\\..*$"),
>         Pattern.compile("^(?:\\[+L)?java\\.lang\\..*$"),
>         Pattern.compile("^(?:\\[+L)?java\\.time\\..*$"), // java 8 time
>         Pattern.compile("^\\[+Z$"), // boolean
>         Pattern.compile("^\\[+B$"), // byte
>         Pattern.compile("^\\[+C$"), // char
>         Pattern.compile("^\\[+D$"), // double
>         Pattern.compile("^\\[+F$"), // float
>         Pattern.compile("^\\[+I$"), // int
>         Pattern.compile("^\\[+J$"), // long
>         Pattern.compile("^\\[+S$") // short
> ));{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to