users@jax-rs-spec.java.net
[jax-rs-spec users] NIO API Proposal in Java
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Sergey Beryozkin <
sberyozkin_at_talend.com
>
Date
: Mon, 12 Oct 2015 21:39:16 +0100
Hi Santiago, All
> (2) NIO:
>
>
https://github.com/spericas/api/blob/master/examples/src/main/java/jaxrs/examples/nio/FileResource.java
>
https://github.com/spericas/api/blob/master/examples/src/main/java/jaxrs/examples/nio/FileResourceClient.java
>
> On the server side, the proposal follows the pattern set by
> StreamingOutput, but of course using lambdas this time around. As you
> know, Servlet already supports NIO, but with a completely different API.
>
>
This may be a very silly question, but can we have a FileResource code
also shown in Java ? Fine with the lamdas being used there - but can
users keep working with the 'traditional' Java syntax in order to work
with this NIO API ?
Thanks, Sergey
This message
: [
Message body
]
Next message
:
Sergey Beryozkin: "[jax-rs-spec users] Nested BeanParams"
Previous message
:
Sergey Beryozkin: "[jax-rs-spec users] Re: _at_Path with regular expression overrides other @Path's with the same URI"
In reply to
:
Santiago Pericasgeertsen: "[jax-rs-spec users] Drafts for Rx, NIO and SSE"
Next in thread
:
Santiago Pericasgeertsen: "[jax-rs-spec users] Re: NIO API Proposal in Java"
Reply
:
Santiago Pericasgeertsen: "[jax-rs-spec users] Re: NIO API Proposal in Java"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]