Created
May 30, 2016 06:55
-
-
Save eiennohito/0b9f20efa976282a6b507e388ba387ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.grpc.examples.header; | |
import io.grpc.ForwardingServerCall; | |
import io.grpc.Metadata; | |
import io.grpc.ServerCall; | |
/** | |
* @author eiennohito | |
* @since 2016/05/30 | |
*/ | |
public class BCall<RType> extends ForwardingServerCall<RType> { | |
private final ServerCall<RType> call; | |
public BCall(ServerCall<RType> call) { | |
this.call = call; | |
} | |
@Override | |
protected ServerCall<RType> delegate() { | |
return call; | |
} | |
@Override | |
public void sendHeaders(Metadata headers) { | |
super.sendHeaders(headers); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment