Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004-2010 Oracle Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Kohsuke Kawaguchi /
package org.kohsuke.stapler;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
Indicates that this parameter is bound from HTTP header.

Kohsuke Kawaguchi
public @interface Header {
HTTP header name.
    String value();

If true, request without this header will be rejected.
    boolean required() default false;
New to GrepCode? Check out our FAQ X