Package org.jboss.resteasy.jose.jws

## Class JWSHeader

- java.lang.Object
- - org.jboss.resteasy.jose.jws.JWSHeader

- All Implemented Interfaces:
    `Serializable`

      public class JWSHeader
      extends Object
      implements Serializable

  Version:
    $Revision: 1 $
  Author:
    Bill Burke
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JWSHeader()` |
    `JWSHeader​(Algorithm algorithm, String type, String contentType)` |
    `JWSHeader​(Algorithm algorithm, String type, String contentType, String keyId)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Algorithm` | `getAlgorithm()` |
    `String` | `getContentType()` |
    `String` | `getKeyId()` |
    `javax.ws.rs.core.MediaType` | `getMediaType()` |
    `String` | `getType()` |
    `String` | `toString()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### JWSHeader

          public JWSHeader()

    - #### JWSHeader

          public JWSHeader​(Algorithm algorithm,
                           String type,
                           String contentType)

    - #### JWSHeader

          public JWSHeader​(Algorithm algorithm,
                           String type,
                           String contentType,
                           String keyId)

  - ### Method Detail

    - #### getAlgorithm

          public Algorithm getAlgorithm()

    - #### getType

          public String getType()

    - #### getContentType

          public String getContentType()

    - #### getKeyId

          public String getKeyId()

    - #### getMediaType

          public javax.ws.rs.core.MediaType getMediaType()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`