001/*******************************************************************************
002 * Copyright 2017 The MIT Internet Trust Consortium
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *   http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *******************************************************************************/
016
017package org.mitre.openid.connect.model;
018
019/**
020 * @author jricher
021 *
022 */
023public class CachedImage {
024
025        private byte[] data;
026        private String contentType;
027        private long length;
028
029        /**
030         * @return the data
031         */
032        public byte[] getData() {
033                return data;
034        }
035        /**
036         * @param data the data to set
037         */
038        public void setData(byte[] data) {
039                this.data = data;
040        }
041        /**
042         * @return the contentType
043         */
044        public String getContentType() {
045                return contentType;
046        }
047        /**
048         * @param contentType the contentType to set
049         */
050        public void setContentType(String contentType) {
051                this.contentType = contentType;
052        }
053        /**
054         * @return the length
055         */
056        public long getLength() {
057                return length;
058        }
059        /**
060         * @param length the length to set
061         */
062        public void setLength(long length) {
063                this.length = length;
064        }
065
066}