Annotation Type Header

public @interface Header

Replaces the header with the the value of its target.

 void foo(@Header("Accept-Language") String lang, Callback<Response> cb);

Header parameters may be null which will omit them from the request.

Note: Headers do not overwrite each other. All headers with the same name will be included in the request.

Adrian Cole ([email protected])

Required Element Summary
 String value

Element Detail


public abstract String value

Copyright © 2013 Square, Inc.. All Rights Reserved.