Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7789569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:20:09+00:00 2026-06-01T21:20:09+00:00

I’ve set up MOD_SPDY on my Apache server and now want to retrofit my

  • 0

I’ve set up MOD_SPDY on my Apache server and now want to retrofit my client code to use Netty’s SPDY implementation to send my requests to the server over a SPDY channel.

This is my first experience using Netty, so I think I get that I need to somehow configure my Channel and then send requests through it. The problem is, that it doesn’t seem very clear exactly how to configure the channels and even after that, how to track multiple HTTP requests inside the channel that might be executing concurrently.

I’ve googled around and found the SPDY package:
http://netty.io/docs/stable/api/org/jboss/netty/handler/codec/spdy/package-summary.html

but the documentation is still quite thin there. I didn’t seem to find any examples of using the code, only the announcement that it exists in the latest release.

Does someone have an example about how to construct a SPDY channel and then send/track multiple requests and responses through it? Also, how would this function when the server does not support SPDY and the channel falls back to a standard SSL connection?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:20:11+00:00Added an answer on June 1, 2026 at 9:20 pm

    Only example I could find on Netty and SPDY is a test code for
    SessionHandler and
    socket echo test. I’m yet to make this thing running, but Your client should make pipeline consisting of SpdyFrameCodec, SpdySessionHandler and your handler.

    Your handler should be modeled after EchoHandler in session test, because that way SpdySessionHandler does job of decoding raw frames into more meaningful ones and does some things as required by SPDY protocol.

    As for fall-backing, there are SpdyHttpCodec in snapshot version of the Netty that translates from SPDY to HTTP. That way you can build your client handler in terms of HTTP and receive messages that came either through SPDY or HTTP transparently. To do this it is required to implement something similar to
    port unification example.

    All that said. There is room for few utility classes/handlers to make all of this an “out of the box” experience. I wanted to make a working example, but am lacking time right now for it, and there would be too much code to simply paste it here as answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want use html5's new tag to play a wav file (currently only supported
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I am confused How to use looping for Json response Array in another Array.
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm interested in microtypography issues on the web. I want a tool to fix:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.